C/C++ Programming Language - Set 3

10 Questions | Attempts: 7418
Share

SettingsSettingsSettings
C/C++ Programming Language - Set 3 - Quiz

Online MCQ Quiz on C/C++ Programming - Set 3 No. Of Questions:- 10 Time:- 10 Minutes Full Mark:- 100 Pass Mark:- 70 This Quiz is for those user who wants to test their knowledge/skill in C/C++ Programming Language. For more MCQ Questions and Online Quizzes please visit https://www. McqQuestions. Com


Questions and Answers
  • 1. 
    “C” was primarily developed as a
    • A. 

      Systems Programing Language

    • B. 

      General Purpose Language

    • C. 

      Data Processing Language

    • D. 

      None

  • 2. 
    “C” is a
    • A. 

      High Level Language

    • B. 

      Low Level Language

    • C. 

      High Level Language with some low level features

    • D. 

      Low level language with some high level features

  • 3. 
    Most suitable option for  “C” literal is
    • A. 

      A string

    • B. 

      A string constant

    • C. 

      A character

    • D. 

      An alphabet

  • 4. 
    Length of the string “Correct” is
    • A. 

      7

    • B. 

      8

    • C. 

      6

    • D. 

      Implementation dependent

  • 5. 
    Choose the correct statement
    • A. 

      An identifier may start with an underscore

    • B. 

      An identifier may end with an underscore

    • C. 

      IF is a valid identifier

    • D. 

      All

  • 6. 
    The “const” feature can be applied to
    • A. 

      An identifier

    • B. 

      An array

    • C. 

      An array argument

    • D. 

      All

  • 7. 
    Pick the operator that associate from the left
    • A. 

      +

    • B. 

      ,

    • C. 

    • D. 

      All

  • 8. 
    Choose the correct statement
    • A. 

      Constant expressions are evaluated at compile time

    • B. 

      String constants can be concatenated at compile time

    • C. 

      Size of array must be known at compile time

    • D. 

      All

  • 9. 
    Pick the operator that associate from the right
    • A. 

      ? :

    • B. 

      + =

    • C. 

      =

    • D. 

      All

  • 10. 
    Which of the following comments about the “++” operator are correct?
    • A. 

      It is a unary operator

    • B. 

      It cannot be applied to an expression

    • C. 

      It associates from the right

    • D. 

      All

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.