ECAT Computer Getting Started with “C” Test Online

ECAT Computer Getting Started with “C” Test

ECAT Computer Science Chapter 18 Getting Started with “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 Getting Started with “C” Test Online MCQs

 0%

Page 1 of 2

Uncategorized

1. What is a syntax error?

2. Which character is used to terminate a string in C?

3. What is the size of an int in C (typically on 32-bit systems)?

4. Which format specifier is used for float values in C?

5. What is the output of printf("%c", 65);?

6. Which operator is used to compare two values for equality?

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

8. What is the result of sizeof(char) on most systems?

9. Which keyword is used to define a function in C?

10. Which of the following functions is the entry point of a C program?

11. Which of the following loops executes at least once?

12. Which data type is used to store a single character?

13. Which format specifier is used to print characters in C?

14. Which keyword is used to exit a loop early?

15. What is the correct syntax to output "Hello World" in C?

16. Which of the following is a correct function prototype?

17. Which symbol is used to indicate the end of a statement in C?

18. Which operator is used for assignment in C?

19. Which escape sequence is used to insert a new line in C?

20. How do you include the standard I/O header in a C program?

21. Which function is used to read a single character from the user?

22. What is the result of 5 % 2 in C?

23. Which of these is a looping statement in C?

24. What is the use of the continue statement in loops?

25. What does the return statement do in a function?


 

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: