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

Home > Java Programming > Defining Variables > Questions and Answers

Q: What will be the output of the following C code?
void main()
{
unsigned giveit=-1;
int gotit;
printf("%u ",++giveit);
printf("%u \n",gotit=--giveit);
}
A. 0 65535 B. 0 65534
C. 0 65532 D. Compilation error

Answer and Explanation

Answer:0 65535

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




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