TipsMake

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 test
Jessica Tanner

Share by

Jessica Tanner
Update 24 May 2019