GATEverse
← GATE CSE 2025 Set 1

Q24

NAT1 mark

#include <stdio.h> void foo(int *p, int x) { *p=x; } int main(){ int *z; int a = 20, b = 25; z = &a; foo(z,b); printf("%d",a); return 0; } The output of the given C\text{C} program is __________. (Answer in integer)

Sign in to save attempts.

Loading…