Test about programming C P2

  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

May be interested

  • eQuiz - VB.NET testing test - Part 1eQuiz - VB.NET testing test - Part 1
    we will continue with the vb.net programming language test, in total there will be 15 questions with no time for answering each sentence. there will be some questions with many different answer options.
  • Multiple choice questions about programming with P1 prizeMultiple choice questions about programming with P1 prize
    programming is the use of programming languages ​​and tools and utilities to write code, build practical programs and applications on your computer to serve your life. the following is an invitation to test your knowledge with our following series of articles.
  • A set of multiple choice questions for programming has a P2 prizeA set of multiple choice questions for programming has a P2 prize
    programming is the use of programming languages ​​and utility tools to build applications and executable programs on computers for life. in this article, invite readers to test their knowledge and multiple choice questions around this topic.
  • Set of multiple choice questions on award winning P4 programmingSet of multiple choice questions on award winning P4 programming
    the set of multiple choice questions for programming has been invited to read and test by the network administrator. set of 10-question questions with 4 answers, try to see how many answers you can get.
  • Set of multiple choice questions on programming with P9Set of multiple choice questions on programming with P9
    multiple choice questions about programming help you gain more useful knowledge for yourself in the process of learning and working. there will be 10 questions for you to test your knowledge. let's start.
  • eQuiz - VB.NET testing test - Part 2eQuiz - VB.NET testing test - Part 2
    in the previous article, i showed you the first part of the vb.net test. and this time, we will continue with part 2 of this popular quiz series on programming languages, the whole test will have 15 questions with unlimited response time.
  • JAVA test test P1JAVA test test P1
    java is an object-oriented and class-based programming language. to help you read more interesting knowledge about the java programming language, the network administrator will send you a very interesting multiple choice question on this topic. please try.
  • Test on JAVA P10 testTest on JAVA P10 test
    multiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.
  • Test about C programmingTest about C programming
    if you are a fan of this programming language, you can try your knowledge through our multiple-choice questions.
  • CSS test with answer P4CSS test with answer P4
    set of multiple choice questions about css programming language, invite readers to test their knowledge on this topic. with 10 questions including 4 answers, please choose the best answer.