Solve c++ objective question.

This is a discussion on Solve c++ objective question. within the C++ Programming forums, part of the General Programming Boards category; 1. Operator overloading is called: i. Runtime polymorphism ii. Compile time polymorphism iii. Complex overloading iv. Abstract overloading 2. A ...

  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    2

    Post Solve c++ objective question.

    1. Operator overloading is called:
    i. Runtime polymorphism
    ii. Compile time polymorphism
    iii. Complex overloading
    iv. Abstract overloading
    2. A process of a class can contain object of another class is called:
    i. Nesting
    ii. Friend
    iii. Data abstraction
    iv. Encapsulation
    3. Which of the following way are legal to access a class data member using this pointer ?
    i. this.x
    ii. *this.x
    iii. *(this.x)
    iv. (*this).x
    4. The tream is a:
    i
    . Flow of data
    ii. Flow of integer
    iii. Flow of statements
    iv. None of the above
    5. The cout() function counts the :
    i. Extracted character
    ii. Inserted character
    iii. Both (i) and (ii)
    iv. None of the above
    6. The size of void pointer is:
    i. O byte
    ii. 2 byte
    iii. 4 byte
    iv. 8 byte
    7. In c++. It is possible to pass values to function by :
    i. Call by value
    ii. Call by address
    iii. Call by reference
    iv. All of the above
    8. A and B are two string objects. A=abc and B=xyz. A=A+B will produce.
    i. abcxyz
    ii. abc
    iii. xyzabc
    iv. None of the above
    9. An iterator is similar to :
    i. Pointer
    ii. Array
    iii. Class
    iv. None of the above
    10. If a subclass contains a method with the same name and arguments as in the base class, it is:
    i. Overloading
    ii. Polymorphism
    iii. Overriding
    iv. Error
    11. Size of void pointer is:
    i. 0 byte
    ii. 2 byte
    iii. 4 byte
    iv. 8 byte
    12. In c++, arguments can be passed in function by:
    i. Values
    ii. Reference
    iii. Address
    iv. All of the above1.

  2. #2
    ZuK
    ZuK is offline
    Registered User
    Join Date
    Aug 2005
    Location
    Austria
    Posts
    1,990
    Are you trying to test me ?
    Announcements - General Programming Boards
    Kurt
    Last edited by ZuK; 04-23-2013 at 02:00 AM.

  3. #3
    Registered User
    Join Date
    Apr 2013
    Posts
    2
    No, solve it plz

  4. #4
    Registered User
    Join Date
    Jun 2005
    Posts
    6,205
    Quote Originally Posted by ZuK View Post
    Are you trying to test me ?
    Naah. S/he probably has some answers in mind, and is hoping to demonstrate his/her knowledge by criticising answers from others.

    Too bad that some of the questions aren't even meaningful. Also, the correct answer to at least one of those questions is "none of the supplied answers" which - in a multi-choice question - demonstrates ignorance by the person who wrote the question.
    Right 98% of the time, and don't care about the other 3%.

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Closing, this looks way too much like a homework quiz.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help me solve dis question..Please
    By imbax in forum C Programming
    Replies: 2
    Last Post: 09-23-2010, 09:25 PM
  2. how to solve this question?
    By zcrself in forum C Programming
    Replies: 9
    Last Post: 03-09-2010, 11:12 PM
  3. C bufferoverflow question. can anyone solve it?
    By asdfgh in forum Linux Programming
    Replies: 2
    Last Post: 11-03-2009, 12:40 PM
  4. a question that i can't solve
    By revolution3396 in forum C Programming
    Replies: 16
    Last Post: 11-19-2008, 05:36 PM
  5. Simple Cocoa/Objective-C question
    By electrolove in forum C Programming
    Replies: 1
    Last Post: 03-04-2003, 07:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21