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

Home > Java Programming > Operators > Questions and Answers

Q: What is the output of following program?

void main(){
printf("%d%d",47%5,47%-5);
printf("%d%d%d",-47%5,-47%-5,5%7);
}  
A. 2,-2,-2,-2,5 B. 2,2,-2,-2,5
C. 2,-2,2,-2,5 D. 2,2,-2,-2,0

Answer and Explanation

Answer:2,2,-2,-2,5

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.