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 a valid character constant in C?

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

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

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

5. What does getch() function do?

6. What is a pointer?

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

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

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

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

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

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

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

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

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

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

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

18. Which format specifier is used for double values?

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

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

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

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

23. Which of the following is a fundamental element of a C program?

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

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


 

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!

Leave a Reply

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

Back to top button
error: