What is the output of this C code?

   #include

  int main()

   {

       foo();

       foo();

   }

   void foo()

   {

       int i = 11;

       printf("%d ", i);

    static int j = 12;

       j = j + 1;

printf("%d\n", j);

   }

1
11 12 11 12
2
11 13 11 14
3
11 12 11 13
4
Compile time error

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation