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. What does getch() function do?

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

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

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

5. Which keyword is used to prevent a variable from being modified?

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

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

8. What does the keyword static do?

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

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

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

12. Which of the following is used to store a group of related values?

13. Which of the following is the correct syntax to declare a string?

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

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

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

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

18. Which keyword is used to define a user-defined data type alias?

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

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

21. Which format specifier is used for double values?

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

23. Which of the following is a valid character constant in C?

24. Which of these is a bitwise operator?

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


 

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: