हिंदी

Debug the error and rewrite the following method prototype: float operate(int x, float=3.4); - Computer Applications

Advertisements
Advertisements

प्रश्न

Debug the error and rewrite the following method prototype:

float operate(int x, float=3.4);

कोड लेखन

उत्तर

float operate(int x, float a) 
{a=(float) 3.4; } 
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: User - Defined Methods - EXERCISES [पृष्ठ ३३७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 5 User - Defined Methods
EXERCISES | Q VI. 5. (c) | पृष्ठ ३३७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×