Consider the following C program: #include<stdio.h> int jumble(int x, int y){…

PYQ GATE 2019

Consider the following C program:

#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 the program is ________.

Attempted by 333 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…