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
-
5 ★ | 1 Vote
You should read it
- Test on C programming P6
- Test on C programming P4
- 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
- Set of multiple choice questions for programming with P8 prizes
- Set of multiple choice questions about programming with P10 prize
- A set of multiple choice questions for programming has a P2 prize
- Set of multiple choice questions about programming with P7 prize
- Set of multiple choice questions on award winning P4 programming