Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    auto i = 10;
    const auto int *p = &i;
    printf("%d\n", i);
}

A. 10

B. Compile time error

C. Depends on the standard

D. Depends on the compiler

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function