+ 3

What is the wrong in below two codes ? And y the first code is giving out put as 3 ?What is the difference in these two program?

#include<stdio.h> int main() { int x = (1,2,3); printf("%d",x); return 0; } ____________________________ #include<stdio.h> int main() { int x = 1,2,3; printf("%d",x); return 0; }

9th Aug 2020, 1:15 PM
Pavan Kumar
2 Antworten
+ 2
Thank you George...:)
12th Aug 2020, 7:44 AM
Pavan Kumar
+ 1
A=(1,2,3,4,5,6,....10000) A will be the last value A=1,2,3,...........10000; A will be the first value
9th Aug 2020, 7:35 PM
george
george - avatar