Navigation Menu
Home Blog Latest Notices
100% Free

ECAT - Practice Test - Computer Science - Elements of C - Quiz 2

Practice 10 high yield MCQs on Computer Science from Chapter Elements of C for Practice Test. After submission, get instant results with correct answers and detailed explanations. This is Quiz 2 of the series.

11. Which of these is a valid comment in C?



12. What is the size of a char variable in C?



13. What is the output of: printf("%d", 10 + 20);



14. Which header file is needed for string functions in C?



15. The sizeof() operator in C returns:



16. Which of the following is NOT a valid data type in C?



17. The printf() function belongs to which library?



18. Which symbol indicates a preprocessor directive in C?



19. What is the correct way to declare a constant in C?



20. Which operator is used for logical AND in C?



← Back to Quiz Sets
Instructions: Select one answer per question. After submitting, you will see your score, correct answers, and explanations.

Medical Colleges in Pakistan

Explore medical institutions city‑wise – public & private.

Browse All Medical Colleges →