Question
a.
both can be used interchangebly
b.
scanf is delimited by end of line, while gets is not
c.
scanf is delimited by blank space, while gets is not
d.
none of above
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following comments regarding the reading of a string using scanf( with %s option and gets, is true ?)
Similar Questions
Discover Related MCQs
Q. A string that is a formal parameter can be declared
View solution
Q. C Language was developed at ?
View solution
Q. Many features of C were derived from which language ?
View solution
Q. What is C language?
View solution
Q. First version of C Programming language is ____ .
View solution
Q. C was initially used for
View solution
Q. C programming language is
View solution
Q. Which year C language is developed?
View solution
Q. Which of these is not an example for IDE in C?
View solution
Q. Which of these is true about embedded C?
i) Embedded C is the extension of C programming language
ii) Embedded C is used to develop micro controller based applications.
iii) Embedded C includes features not available in normal C like fixed-point arithmetic, named address spaces, and basic I/O hardware addressing.
View solution
Q. C can be used on?
View solution
Q. Which is not a character of C?
View solution
Q. Which is true in case of ANSI C?
View solution
Q. Identify the wrong Statement?
View solution
Q. Identify the correct statement?
View solution
Q. An escape sequence commence with
View solution
Q. Where does the execution of every C program starts?
View solution
Q. Identify the separator(s) in C?
View solution
Q. A program which translates a high level language program into a machine language program is called
View solution
Q. The errors that can be pointed out by the compiler are?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!