Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int ary[4] = {1, 2, 3, 4};
    printf("%d\n", *ary);
}

A. 1

B. Compile time error

C. Some garbage value

D. Undefined variable

Answer: Option A


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer