Live quiz

C Programming - Part 43

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following C code? #include <stdio.h> void foo(); int main() { void foo(int); foo(); return 0; } void foo() { printf("2 "); }

  • A
  • B
  • C
  • D