edited by
527 views
1 votes
1 votes
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$
edited by

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
1
go_editor asked Mar 27, 2020
1,502 views
The declaration “unsigned u” indicates :u is an unsigned characteru is an unsigned integeru is a characteru is a string
0 votes
0 votes
1 answer
2
go_editor asked Mar 27, 2020
1,528 views
Which of the regular expressions corresponds to this grammar ?$S → AB/AS, A → a/aA, B → b$$aa^*b^+$$aa^*b$$(ab)^*$$a(ab)^*$
0 votes
0 votes
1 answer
3
1 votes
1 votes
2 answers
4
go_editor asked Mar 27, 2020
12,202 views
The number of edges in a complete graph with $N$ vertices is equal to :$N (N−1)$$2N−1$$N−1$$N(N−1)/2$