Podcast
Questions and Answers
What is the purpose of the 'putchar' function in C language?
What is the purpose of the 'putchar' function in C language?
- Read a string from the keyboard
- Display a string on the screen
- Writes output to the standard output stream (correct)
- Scans input according to the format provided
Which function is used to display a string on the screen in C language?
Which function is used to display a string on the screen in C language?
- Scanf
- Printf
- Gets
- Puts (correct)
What does the 'scanf' function in C language do?
What does the 'scanf' function in C language do?
- Writes output to the standard output stream
- Reads or takes input from the keyboard by the user (correct)
- Scans input according to the format provided
- Displays a string on the screen
Which format specifier is used for decimal floating-point values in C language?
Which format specifier is used for decimal floating-point values in C language?
What is the purpose of the 'sprintf' function in C language?
What is the purpose of the 'sprintf' function in C language?
Which function is used to read a single string from the keyboard in C language?
Which function is used to read a single string from the keyboard in C language?
What data type does the '%c' format specifier represent in C language?
What data type does the '%c' format specifier represent in C language?
Which function is used to read input from the standard input stream in C language?
Which function is used to read input from the standard input stream in C language?
'%s' format specifier in C language is used for which type of data?
'%s' format specifier in C language is used for which type of data?
What does the 'puts' function do in C language?
What does the 'puts' function do in C language?