← Back to Question List
C Code Walkthrough #2
Pointer Dereferencing
📄 Code
Read carefully — what does this print?1#include <stdio.h>23int main() {4 int x = 42;5 int *p = &x;6 *p = 100;7 printf("%d\n", x);8 printf("%d\n", *p);9 return 0;10}