0
What is the output of the following program?
#include<stdio.h> void main() { char *s = "C++"; printf("%s ", s); s++; printf("%s", s); }
1 Answer
+ 5
//Instead of void main() put int main() and output will be
c++ ++
#include<stdio.h> void main() { char *s = "C++"; printf("%s ", s); s++; printf("%s", s); }