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 an example of a looping construct?

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

3. Which of the following functions is used to concatenate two strings?

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

5. What will be the output of sizeof(char) on most systems?

6. Which operator is used to increment a value by 1?

7. What is a pointer?

8. What is the function of return 0; in main()?

9. What is the correct way to initialize a pointer to NULL?

10. Which of these is not a storage class in C?

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

12. Which of the following is used to define a block of code in C?

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

14. Which function is used to find the length of a string?

15. Which of these is a bitwise operator?

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

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

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

19. Which of the following is used to create a multi-line comment in C?

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

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

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

23. Which format specifier is used for double values?

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

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


 

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: