Computer Getting Started with “C” Test Online

Important Computer Getting Started with “C” Question and Answer

Total Questions: 50
Time Allowed: 25 Minutes
Total Marks: 50
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

Getting Started with “C” Practice Test Online With Explanation

 0%

Page 1 of 2

Uncategorized

1. Which header file is needed to use printf() and scanf()?

2. Which format specifier is used for float values in C?

3. Which of the following is a valid identifier in C?

4. Which of the following is a correct function prototype?

5. Which of the following is a correct extension for a C source file?

6. Which keyword is used to exit a loop early?

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

8. Which of the following is a valid data type in C?

9. What is the use of the continue statement in loops?

10. Which operator is used to dereference a pointer?

11. Which of the following is a relational operator?

12. Which of the following is used to take input from the user?

13. Which of the following data types can store real numbers?

14. Which header file is used for mathematical functions like sqrt()?

15. Which of the following is the correct syntax to define an array?

16. Which symbol is used for the address-of operator in C?

17. What is the result of 5 % 2 in C?

18. What is the correct way to declare a pointer in C?

19. Which of the following is used for string handling in C?

20. Which of the following functions is the entry point of a C program?

21. What is the size of an int in C (typically on 32-bit systems)?

22. What is a syntax error?

23. Which symbol is used for comments in C?

24. Which of the following is not a valid C keyword?

25. What does the keyword void indicate when used in a function?


 

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