Test about programming C P2

If you are a fan of this programming language, you can try your knowledge through our multiple-choice questions.
  1. Question 1. When C program finishes, what value is returned to the operating system?
    1. 0
    2. first
    3. -first
    4. Void
  2. Question 2. What is the only function that all C programs must have?
    1. Begin
    2. System
    3. Main
    4. Program
  3. Question 3. Which punctuation mark is used to signal the start and end of 1 block code
    1. {}
    2. → and ←
    3. BEGIN and END
    4. (and)
  4. Question 4. Which punctuation ends most lines of C code?
    1. .
    2. :
    3. ;
    4. ,
  5. Question 5. What is the correct comment in C language?
    1. * / Comment * /
    2. ** Comment **
    3. / * Comment * /
    4. {Comment}
  6. Question 6. Where is not the data type in C programming language
    1. float
    2. real
    3. int
    4. double
  7. Question 7. Which of the following symbols is used to compare two variables together
    1. : =
    2. =
    3. Equal
    4. ==
  8. Question 8. The boolean data type is defined
    1. &
    2. &&
    3. |
    4. | &
  9. Question 9. Evaluation! (1 &&! (0 || 1))
    1. It's correct
    2. False
    3. Not comparable
  10. Question 10. What is the final value of x when the code is run?
     int x; 
    for (x = 0; x <10; x ++) {}
    1. ten
    2. 9
    3. 0
    4. first
5 ★ | 1 Vote