GATEverse Practice, past papers & mock tests
GATE 2019
Programming & Data StructuresProgrammingeasyNAT1 mark
Consider the following C program:
c
#include <stdio.h>
int jumble(int x, int y) {
    x = 2 * x + y;
    return x;
}
int main() {
    int x = 2, y = 5;
    y = jumble(y, x);
    x = jumble(y, x);
    printf("%d\n", x);
    return 0;
}
The value printed by program is _______
Save your progress

Related Programming & Data Structures PYQs