Examveda
Examveda

The statement double val[15]={44.123456};

A. assigns the value 44.123456 to all members of the array val

B. assigns the value 44.123456 to val[0] and 0 to the rest of the members

C. gives an error message

D. assigns the value 44.12345 to val[1] and val[5]

Answer: Option B


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block