adplus-dvertising
frame-decoration

Question

What is the output of this C code?
#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

Posted under C Programming

Answer: (b).Compile time error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this C code? #include <stdio.h> void foo(auto int i); int main() { foo(10); } void foo(auto int i) {...