ECAT Computer Elements of “C” Test Online

ECAT Computer Elements of “C” Test

ECAT Computer Science Chapter 19 Elements of “C” Online Test

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

ECAT Elements of “C” Test Online MCQs

 0%

Page 1 of 2

1. Which of the following is used to terminate a C program?

2. Which of the following is used to define a symbolic constant in C?

3. What does the keyword extern indicate?

4. What is the output of printf("%d", 3 == 3);?

5. Which is the correct declaration of a function in C?

6. Which of the following is not a looping structure in C?

7. Which of the following is an example of a looping construct?

8. Which of the following is a valid arithmetic operator in C?

9. Which header file includes the strlen() function?

10. Which of the following is the correct order of evaluation?

11. Which of the following is not a keyword in C?

12. What is the correct syntax for a ternary operator in C?

13. Which of the following function declarations is valid in C?

14. What is the range of values for a char in C?

15. What will the statement int a = 10, b = 3; printf("%d", a % b); print?

16. Which of the following is used for dynamic memory allocation?

17. Which library must be included to use malloc()?

18. Which of the following can be used to copy strings in C?

19. Which data type can be used to store a decimal number?

20. Which symbol is used to begin a preprocessor directive?

21. What is the output of: printf("%d", sizeof(5.5));?

22. What is the keyword used to define a macro?

23. Which keyword is used to define a structure in C?

24. What is the default value of a global variable in C?

25. What does the keyword static do?


 

You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

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!

Your Related

Leave a Reply

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

Back to top button
error: