GATE CS 2019 · Question 28 · Programming and Data Structures · Numerical answer (NAT) · 1 mark · no negative marks
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 ", x); return 0;
The value printed by the program is ______.
Answer
Answer 26
Answer from the official GATE CS 2019 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes