GATEverse Practice, past papers & mock tests
GATE 2017 · CS2 - Afternoon
Programming & Data StructuresProgrammingeasyNAT2 marks
Consider the following C Program:
c
#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 _______
Save your progress

Related Programming & Data Structures PYQs