C++ Objective question?

Questions are :) :1.Operator overloading is called:i.Runtime polymorphismii.Compile time polymorphismiii.Complex overloadingiv.Abstract overloading2.

Questions are :) :

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 above

or:Questions are :) :1.\tOperator overloading is called:i.\tRuntime polymorphismii.\tCompile time polymorphismiii.\tComplex overloadingiv.\tAbstract overloading2.\tA process of a class can contain object of another class is called:i.\tNestingii.\tFriendiii.\tData abstractioniv.\tEncapsulation3.\tWhich of the following way are legal to access a class data member using this pointer ?i.\tthis.xii.\t*this.xiii.\t*(this.x)iv.\t(*this).x4.\tThe tream is a:i.\tFlow of dataii.\tFlow of integeriii.\tFlow of statementsiv.\tNone of the above5.\tThe cout() function counts the :i.\tExtracted characterii.\tInserted characteriii.\tBoth (i) and (ii)iv.\tNone of the above6.\tThe size of void pointer is:i.\tO byteii.\t2 byteiii.\t4 byteiv.\t8 byte7.\tIn c++. It is possible to pass values to function by :i.\tCall by valueii.\tCall by addressiii.\tCall by referenceiv.\tAll of the above8.\tA and B are two string objects. A=\u201dabc\u201d and B=\u201dxyz\u201d. A=A+B will produce.i.\t\u201cabcxyz\u201dii.\t\u201cabc\u201diii.\t\u201cxyzabc\u201div.\tNone of the above9.\tAn iterator is similar to :i.\tPointerii.\tArrayiii.\tClassiv.\tNone of the above10.\tIf a subclass contains a method with the same name and arguments as in the base class, it is:i.\tOverloadingii.\tPolymorphismiii.\tOverridingiv.\tError11.\tSize of void pointer is:i.\t0 byteii.\t2 byteiii.\t4 byteiv.\t8 byte12.\tIn c++, arguments can be passed in function by:i.\tValues ii.\tReferenceiii.\tAddressiv.\tAll of the above


or:1. Operator overloading is called:ii. Compile time polymorphism2. A process of a class can contain object of another class is called:iv. Encapsulation3. Which of the following ways are legal to access a class data member using this pointer?ii. *this.x4. The tream is a:i. Flow of data5. The cout() function counts the :iii. Both (i) and (ii)6. The size of void pointer is:ii. 2 byte7. In c++. It is possible to pass values to function by:i. Call by value8. A and B are two string objects. A=\u201dabc\u201d and B=\u201dxyz\u201d. A=A+B will produce.i. \u201cabcxyz\u201d9. An iterator is similar to:i. Pointer10. If a subclass contains a method with the same name and arguments as in the base class, it is:iii. Overriding11. Size of void pointer is:ii. 2 byte12. In c++, arguments can be passed in function by:ii. Reference

Tags: