Profile cover photo
Profile photo
Dinesh Bera
288 followers
288 followers
About
Dinesh's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Q. what will be output of following C program?

main()
{
int i=1;
printf("%d%d%d",i,++i,i++);
}

Ans.

(a)1 2 2
(b)2 2 1
(c)3 3 1
(d)1 3 3

Correct answer is (c) 3 3 1

How to solve this or know the description of above answer http://goo.gl/RDeh3b

Q. what will be output of following C program?

main()
{
int i=1;
printf("%d%d%d",i,++i,i++);
}

Ans.

(a)1 2 2
(b)2 2 1
(c)3 3 1
(d)1 3 3

Correct answer is (c) 3 3 1

How to solve this or know the description of above answer http://goo.gl/RDeh3b

Q. what will be output of following C program?

main()
{
int i=1;
printf("%d%d%d",i,++i,i++);
}

Ans.

(a)1 2 2
(b)2 2 1
(c)3 3 1
(d)1 3 3

Correct answer is (c) 3 3 1

How to solve this or know the description of above answer http://goo.gl/RDeh3b

Q. what will be output of following C program?

main()
{
int i=1;
printf("%d%d%d",i,++i,i++);
}

Ans.

(a)1 2 2
(b)2 2 1
(c)3 3 1
(d)1 3 3

Correct answer is (c) 3 3 1

How to solve this or know the description of above answer http://goo.gl/RDeh3b
Wait while more posts are being loaded