0

What is the output of the following program?

#include<stdio.h> void main() { char *s = "C++"; printf("%s ", s); s++; printf("%s", s); }

1st Mar 2019, 5:53 AM
LABAN KIPLIMO BOIT
LABAN KIPLIMO BOIT - avatar
1 Answer
+ 5
//Instead of void main() put int main() and output will be c++ ++
1st Mar 2019, 6:14 AM
Sudarshan Rai
Sudarshan Rai - avatar