What are the static members and static member functions?
A static member function can only access static data member, other static member functions and any other functions from outside the class. Static member functions have a class scope and they do not have access to the this pointer of the class.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the best way to declare and define global variables?
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast
Does c++ have arraylist?
What is the output of this prog. ? struct A { A(){ cout << \"A\"; } }; struct B { B(){ cout << \"B\"; } }; struct C { C(){ cout << \"C\"; } }; struct D { D(){ cout << \"D\"; } }; struct E : D { E(){ cout << \"E\"; } }; struct F : A, B { C c; D d; E e; F() : B(), A(),d(),c(),e() { cout << \"F\"; } };
Explain calling an object's member function(declared virtual)from its constructor?
What does int * mean in c++?
If you don’t declare a return value, what type of return value is assumed?
What is implicit conversion/coercion in c++?
How would perform Pattern Matching in C++?
Define whitespace in C++.
Why was c++ made?
what is importance of data sturture in a programming language?
22 Answers L&T, TCS, Wipro,