Program

profileGBrian

Program Q1 What is the output of the following program?


#include<stdio.h>


void f() 

   static int i;

   

   ++i; 

   printf("%d", i); 

}


main()

   f(); 

   f(); 

   f(); 

}

    • 8 years ago
    • 1
    Answer(4)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      Screenshotfrom2018-11-0804-30-43.png

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED