Welcome Guest | Sign in | Register
printf() and scanf() - Discussion Page For Q.10577 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > printf() and scanf() > Questions and Answers

Q: What is the output of following program?
main(){
int a,b;
a=b=100;
scanf("%d%d",a,&b);
//Entered Values are 40 85
printf("%d %d",a,b);

A. 40 85 B. 0 85
C. 100 85 D. 100 100

Answer and Explanation

Answer:100 85

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.