in Programming in C edited by
524 views
1 vote
1 vote
int arr[ ]={1, 2, 3, 4} 
int count;
incr( ) {return ++count;} 
main( )
{
arr[count++]=incr( );
printf(“arr[count]=%d\n”, arr[count]);
}

The value printed by the above program is :

  1. $1$
  2. $2$
  3. $3$
  4. $4$
in Programming in C edited by
524 views

1 comment

It should be C
1
1

Please log in or register to answer this question.