Give example of a pure virtual function in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
Is swift a good first language?
What is the output of printf("%d")?
58 Answers CTS, HCL, Infosys, TCS, Winit, Wipro,
class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;
What is the outcome of cout< a) 16 b) 17 c) 16.5
What is size of a object of following class? class Foo { public: void foo(){} }
Eplain extern keyword?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Which bitwise operator is used to check whether a particular bit is on or off?
How can we access protected and private members of a class?
What language does google use?