Computer Science, asked by Anonymous, 9 months ago

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.

Answers

Answered by Anonymous
3

It will output "Abdul Kalam" , because string is an array of characters, So char[20] means string of 20 characters.

Similar questions