1.

Consider the following C++ statement char name [20] ; cin>>name; cout< What will be the output of you input the string "Abdul kalam"? Justify your answer.

Answer» OUTPUT "ABDUL Kalam" , because STRING is an ARRAY of characters, So char[20] means string of 20 characters.


Discussion

No Comment Found