Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int var = 101;
    int *p = &var;
    printf("%d\n", *p);
    }
    1. 101
    2. Compilation Error
    3. Address of var
    4. Garbage value
    5. None of these
Correct Option: A

101



Your comments will be displayed only after manual approval.