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
3
It will output "Abdul Kalam" , because string is an array of characters, So char[20] means string of 20 characters.
Similar questions
English,
7 months ago
Math,
1 year ago
English,
1 year ago
Business Studies,
1 year ago
Math,
1 year ago