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

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

Q: The statement to read a decimal value from the keyboard, into the integer variable sum, is
A. scanf("%d", &sum); B. scanf("%d", &sum);
C. scanf("%s", sum); D. scanf("%f", &sum);

Answer and Explanation

Answer:scanf("%d", &sum);

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.