Consider the following C program. #include<stdio.h> int main () { int m=10;…

GATE · 2017 · CS · Set 2 · Computer Science & IT

Consider the following C program.

#include<stdio.h> int main () { int m=10; int n, n1; n=++m; n1=m++; n--; --n1; n-=n1; printf(“%d”, n); return 0; }

The output of the program is ______

Attempted by 849 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…