Welcome Guest | Sign in | Register
Defining Variables - Discussion Page For Q.10634 | 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 output of following c program ?
#include
main()
{
int class = 150;
int public =25;
int private=30;
class = class>>private-public;
printf(ā€œ%dā€,class);
}
A. 1 B. 2
C. 4 D. Compilation error

Answer and Explanation

Answer:4

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.