Podcast
Questions and Answers
Which operator is used to indicate the memory location of a variable in the scanf() function?
Which operator is used to indicate the memory location of a variable in the scanf() function?
- $
- & (correct)
- #
- *
What is the purpose of the format specifier in the scanf() function?
What is the purpose of the format specifier in the scanf() function?
- Indicates the type of data to be stored in the variable (correct)
- Controls the loop iterations
- Specifies the memory location of the variable
- Determines the input device
Which header file provides predefined input and output functions in C?
Which header file provides predefined input and output functions in C?
- (correct)
What is the primary function of scanf() in C programming?
What is the primary function of scanf() in C programming?
How is the memory location of a variable represented in scanf() function?
How is the memory location of a variable represented in scanf() function?