C/C++ Programming Language - Set 1

10 Questions | Total Attempts: 14059

SettingsSettingsSettings
Please wait...
C/C++ Programming Language - Set 1

Online MCQ Quiz on C/C++ Programming - Set 1 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://mcqQuestions. Com


Questions and Answers
  • 1. 
    C++ was originally developed by
    • A. 

      Nicolas Wirth

    • B. 

      Donald Knuth

    • C. 

      Bjarne Stroustrup

    • D. 

      Ken Thompson

  • 2. 
    The standard C++ comment
    • A. 

      /

    • B. 

      //

    • C. 

      /* and */

    • D. 

      None of these

  • 3. 
    The preprocessor directive #include is required if
    • A. 

      Console output is used

    • B. 

      Console input is used

    • C. 

      Both console input and output is used

    • D. 

      None of these

  • 4. 
    The operator << is called
    • A. 

      An insertion operator

    • B. 

      Put to operator

    • C. 

      Either a or b

    • D. 

      None of these

  • 5. 
    The operator >> is called
    • A. 

      An extraction operator

    • B. 

      A get from operator

    • C. 

      Either a or b

    • D. 

      Get to operator

  • 6. 
    The C++ symbol <<
    • A. 

      Perform the action of sending the value of expression listed as its right to the outputs strewn as the left.

    • B. 

      Is used to indicate the action from right to left

    • C. 

      Is adopted to resemble an arrow

    • D. 

      All of above

  • 7. 
    When a language has the capability to produce new data type, it is called
    • A. 

      Extensible

    • B. 

      Overloaded

    • C. 

      Encapsulated

    • D. 

      Reprehensible

  • 8. 
    C++ name was suggested by
    • A. 

      Rrick Mascitti

    • B. 

      Bjarne Stroustrup

    • C. 

      Donald Knuth

    • D. 

      Ken Thompson

  • 9. 
    What is a reference?
    • A. 

      An operator

    • B. 

      A reference is an alias for an object

    • C. 

      Used to rename an object

    • D. 

      None of these

  • 10. 
    State the object oriented languages
    • A. 

      C++

    • B. 

      Java

    • C. 

      Eiffel

    • D. 

      All of the above