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

Home > Java Programming > Defining Variables > Questions and Answers

Q: Which of the following reads in a string named x with one hundred characters?
A. fgets(x, 101, stdin); B. fgets(x, 100, stdin);
C. readline(x, 100, '\n'); D. read(x);

Answer and Explanation

Answer:fgets(x, 101, stdin);

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.