GATE 2025 CS/IT Question 34
GATE2025_CS1_Q34

The output of the given C program is ______. (Answer in integer)

#include 
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;
}

Comments

Popular posts from this blog