GeeksforGeeks » C/C++ Programming Questions
Output of C program?
(2 posts)-
The output of the program?
void main() { char str[5] = “abc”; printf (“%s”, &0[str]); getchar(); return 0; } -
'abc' obviously
Reply
You must log in to post.
The output of the program?
void main()
{
char str[5] = “abc”;
printf (“%s”, &0[str]);
getchar();
return 0;
}
'abc' obviously
You must log in to post.