Podcast
Questions and Answers
What is the purpose of the putchar
function in C?
What is the purpose of the putchar
function in C?
- To read a single string from the keyboard
- To write a single character to the standard output stream (correct)
- To display a string on the screen
- To read a single character from the keyboard
Which function is used to read a single string from the keyboard in C?
Which function is used to read a single string from the keyboard in C?
- Puts
- Gets (correct)
- Printf
- Scanf
What does the puts
function do in C?
What does the puts
function do in C?
- Displays a string on the screen (correct)
- Writes a character to the output stream
- Reads multiple strings
- Reads a single character
In C, which function is used for formatted input?
In C, which function is used for formatted input?
What does the %f
format specifier represent in C?
What does the %f
format specifier represent in C?
Which function is used to display values on the console screen in C?
Which function is used to display values on the console screen in C?
sprintf
stands for:
sprintf
stands for:
scanf
function is primarily used for:
scanf
function is primarily used for:
%s
format specifier in C is used for:
%s
format specifier in C is used for:
"&" (address-of operator) is primarily used in which function in C?
"&" (address-of operator) is primarily used in which function in C?
Flashcards are hidden until you start studying