GATE | GATE-CS-2016 (Set 1) | Question 25
Consider the following C program.
The output of the program _____________
Note : This question was asked as Numerical Answer Type.
Explanation: Note that a and d are not swapped as the function mystery() doesn’t change values, but pointers which are local to the function.
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.