Test about programming C P2
If you are a fan of this programming language, you can try your knowledge through our multiple-choice questions.
- Question 1. When C program finishes, what value is returned to the operating system?
- 0
- first
- -first
- Void
-
- Question 2. What is the only function that all C programs must have?
- Begin
- System
- Main
- Program
-
- Question 3. Which punctuation mark is used to signal the start and end of 1 block code
- {}
- → and ←
- BEGIN and END
- (and)
-
- Question 4. Which punctuation ends most lines of C code?
- .
- :
- ;
- ,
-
- Question 5. What is the correct comment in C language?
- * / Comment * /
- ** Comment **
- / * Comment * /
- {Comment}
-
- Question 6. Where is not the data type in C programming language
- float
- real
- int
- double
-
- Question 7. Which of the following symbols is used to compare two variables together
- : =
- =
- Equal
- ==
-
- Question 8. The boolean data type is defined
- &
- &&
- |
- | &
-
- Question 9. Evaluation! (1 &&! (0 || 1))
- It's correct
- False
- Not comparable
-
- Question 10. What is the final value of x when the code is run?
int x;
for (x = 0; x <10; x ++) {}- ten
- 9
- 0
- first
-
Discover more
C programming language multiple choice programming technology programmer programming testShare by
Jessica Tanner
Update 24 May 2019
You should read it
- Test of programming C P5
- Test about C programming
- Test about programming C P3
- Set of multiple choice questions about programming with P17 prize
- Set of multiple choice questions about programming with P12
- The Quiet Details That Make a Sports Betting Platform Feel Reliable
- Instructions on creating toy set images with ChatGPT AI
- How are AI agents changing the journalism industry?
- What do you know about Samsung Galaxy S lives?
- Learn about batteries for laptops
- Test your knowledge with questions about technology P1