Chapter 11: Functions - Online Test

Q1. The strcmp() function takes two arguments: string1 and string2. It compares the contents of string1 and string2 lexicographically.
Answer : Option C
Explaination / Solution:
No Explaination.


Q2. The strlwr() function is used to convert the given string into Lowercase letters.
Answer : Option D
Explaination / Solution:
No Explaination.


Q3. How many main() function(s) present in a C++ program
Answer : Option B
Explaination / Solution:
No Explaination.


Q4. The constant variable can be declared using
Answer : Option B
Explaination / Solution:
No Explaination.


Q5. Returning from the function is done by using
Answer : Option B
Explaination / Solution:
No Explaination.


Q6. Which of the following header file defines the standard I/O predefined functions ?
Answer : Option A
Explaination / Solution:
No Explaination.


Q7. Which function is used to check whether a character is alphanumeric or not.
Answer : Option A
Explaination / Solution:
No Explaination.


Q8. Which function begins the program execution ?
Answer : Option C
Explaination / Solution:
No Explaination.


Q9. Which of the following function is with a return value and without any argument ?
Answer : Option B
Explaination / Solution:
No Explaination.


Q10. Which is return data type of the function prototype of add(int, int); ?
Answer : Option A
Explaination / Solution:
No Explaination.