closed by
329 views
0 votes
0 votes
closed as a duplicate of: ME Test Series
# include <stdio.h>

int main( void )

{

      static int i = 6;

      if(--i){

          main();

          printf(“%d’,i+1);

          }

return 0;

}

 

Let X be Number of 0’s and Y be number of 1’s printed by the code ..the value of  2X+Y is ?

 

 

 

Answer is 5 here How?
closed by

Related questions