Back to Multiple Choice Quiz
Pointer Output
C quiz · Question 3What is the output of this code?
Code
1#include <stdio.h>23int main() {4 int x = 10;5 int *p = &x;6 *p = 20;7 printf("%d\n", x);8 return 0;9}