InterviewSolution
Saved Bookmarks
| 1. |
What is the output of the program? #include void main(){ int x,y,z;;; x=0;y=1;z=2;;;; x=y+z; clrscr(); printf("%d",x); printf(",%d",y); getch( ); }(a) will compile b) will not compile |
|
Answer» Correct option: (a) will compile Reason: ;;; does not matter. This indicates only an empty statement. The o/p will be 3,1 |
|