Welcome Guest | Sign in | Register
Operators - Discussion Page For Q.10655 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Operators > Questions and Answers

Q: What will the output of following C code?
main()
{
int i=5,j=6,z;
printf("%d",i+++j);
}
A. 11 B. 12
C. 10 D. error

Answer and Explanation

Answer:11

Explanation:
the expression i+++j is treated as (i++ + j)

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.