Computer Elements of “C” Test Online

Start your preparation for Computer Elements of “C” Test Online. This online test contains important MCQs from past papers. Attempting this test will help you prepare for Annual Exams and Entry Tests. Read the questions carefully and select the correct option below to see your result.

Important Computer Elements of “C” Question and Answer

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

Elements of “C” Practice Test Online With Explanation

 0%

Page 1 of 2

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

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

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

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

5. Which of these is a decision-making structure in C?

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

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

8. What is a pointer?

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

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

11. Which of the following is an example of a looping construct?

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

13. What does the keyword static do?

14. Which keyword is used to define a structure in C?

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

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

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

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

19. Which library must be included to use malloc()?

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

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

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

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

24. Which operator has the highest precedence?

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


 

Study Plan for Computer Elements of “C” Test Online

This test is crucial for your selection.

How to Use GoTest for Preparation:

  • Focus on Keywords: Examiners often twist the question. Read the statement twice.
  • Instant Feedback: Use the “View Answers” feature after the test.

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