Q. What is the output of C Program with functions?

Code:
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) ROCKET STATIC

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
209
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate