adplus-dvertising
frame-decoration

Question

What is the output of C program with functions?
int main()
{
    printf("funny=%d" , funny());
    return 0;
}
funny()
{
   
}

a.

funny=

b.

funny=1

c.

funny=0

d.

Compiler error

Posted under C Programming

Answer: (c).funny=0

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 C program with functions?