0
What will be the output? #include<stdio.h> main() { char s[ ]="Hello"; int i; for(i=0;s[i];i++) printf("%c%
2 Answers
+ 4
Compile Error
I suggest pasting code in the description, not the title. Or as an alternative, paste the link to the code.
+ 2
use this code:
char s[ ]="Hello";
for(char c : s)
cout<<c ;