adplus-dvertising
frame-decoration

Question

What is the output of C Program with functions?
static void show();

int main()
{
    printf("ROCKET ");
    show();
    return 0;
}

static void show()
{
    printf("STATIC");
}

a.

ROCKET

b.

ROCKET STATIC

c.

STATIC ROCKET

d.

Compiler error

Posted under C Programming

Answer: (b).ROCKET STATIC

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?