STL (140)
OOPS (873)
C++ General (2409) Describe about storage allocation and scope of global, extern, static, local and register variables?
1215Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
970How do you declare A pointer to function which receives an int pointer and returns a float pointer
1143
Differentiate between an external iterator and an internal iterator?
What is encapsulation process?
Can you inherit a private class?
Why is main an int?
What is setw manipulator in c++?
Explain the difference between struct and class in terms of access modifier.
What is static class data?
Advantage and disadvantage of routing in telecom sector
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Should a constructor be public or private?
Which operator cannot overload?
What is a literal in c++?
Differentiate between realloc() and free().
Explain the difference between new() and malloc() in c++?
What is the error in the code below and how should it be corrected?