Skip to main content
Output PredictionC C Medium+20 XP

Pointer Dereference

What is the output?

C
int a = 10;
int *p = &a;
*p = 20;
printf("%d", a);

🔮 What is the output?