What will be the output of the following C code?
#include <stdio.h>
void foo(auto int i);
int main()
{
foo(10);
}
void foo(auto int i)
{
printf("%d\n", i );
}
#include <stdio.h>
void foo(auto int i);
int main()
{
foo(10);
}
void foo(auto int i)
{
printf("%d\n", i );
}
A. 10
B. Compile time error
C. Depends on the standard
D. None of the mentioned
Answer: Option B
Join The Discussion