5,868 views

2 Answers

Best answer
11 11 votes

The correct option is B.

selected by
Answer:
Position:
Show:

Related questions

8 8 votes
2 2 answers
5.3k
5.3k views
go_editor asked Jun 17, 2016
5,291 views
If the sequence of operations - push (1), push (2), pop, push (1), push (2), pop, pop, pop, push (2), pop are performed on a stack, the sequence of popped out values2,2,1...
20 20 votes
2 answers 2 answers
9.1k
9.1k views
go_editor asked Jun 21, 2016
9,085 views
Consider the following code fragmentvoid foo(int x, int y) { x+=y; y+=x; } main() { int x=5.5; foo(x,x); }What is the final value of $\textsf{x}$ in both call by value an...
11 11 votes
5 answers 5 answers
10.1k
10.1k views
go_editor asked Jun 21, 2016
10,087 views
The for loopfor (i=0; i<10; ++i) printf("%d", i&1);prints0101010101011111111100000000001111111111
11 11 votes
4 answers 4 answers
12.3k
12.3k views
go_editor asked Jun 21, 2016
12,329 views
The output of the following program ismain() { static int x[] = {1,2,3,4,5,6,7,8} int i; for (i=2; i<6; ++i) x[x[i]]=x[i]; for (i=0; i<8; ++i) printf("%d", x[i]); }1 2 3 ...