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

Uncategorized

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

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

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

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

5. Which operator is used to compare if two values are not equal?

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

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

8. Which operator is used to access the value stored at an address?

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

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

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

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

13. Which of these is a bitwise operator?

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

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

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

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

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

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

20. Which of the following is not a keyword 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 fundamental element of a C program?

24. What does the keyword static do?

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!

Your Related

Leave a Reply

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

Back to top button
error: