Computer Functions in “C” Test Online

Important Computer Functions in “C” Question and Answer

Total Questions: 20
Time Allowed: 20 Minutes
Total Marks: 20
How to Attempt Test: Please choose the right Option in MCQ-type question.
Test Helpful For: ECAT Entry Test
Computer Online Test
Interview Questions about Computer
All Universities Entrance Test
Recruitments Tests

Functions in “C” Practice Test Online With Explanation

 0%

Page 1 of 1

Uncategorized

1. Which keyword is used to define a function in C?

2. Which header file is needed for exit()?

3. How many values can a function return in C?

4. What is the scope of a function declared as static?

5. What is the correct syntax to call a function named display?

6. What is function overloading?

7. What is the return type of main() usually?

8. Which of the following passes arguments by value in C?

9. Can we use the same function name for different return types?

10. What is the default return type of a function in C if not specified?

11. Which of the following is a valid function declaration in C?

12. Which of the following is not a valid return type of a function?

13. Which of the following functions is used to terminate a program?

14. Which function is always present in every C program?

15. Which keyword is used to declare a function that can call itself?

16. Which of the following is correct about recursion?

17. What is a function prototype?

18. Which of the following is used to return a value from a function?

19. What does the void return type signify?

20. Which of the following is not true about functions?


 

Mustansar Khan

Hey Exam Warriors! I'm Mustansar Khan, your ally in conquering tests. Uncover strategies, real-time experiences, and expert advice to turn your study sessions into victories. Let's gear up for success!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
error: