-
Explain C Code
#define sro(X) (X*X)main(){int i=3,j,k;j=sro(i++);k=sro(++i);printf("n%d %d",j,k);getch();}output is 9 49can any one explain why we get second output as 49
-
-
If the program (myprog) is run from the command line as myprog 1 2 3 , What would be the output? main(int argc, char *argv[]) { int i; for(i=0;i<argc;i++) printf("%s",argv[i]); }
A) 1 2 3B) C:MYPROG.EXE123C) MYPD) None of the above