How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
5 14739Explain the ISA and HASA class relationships. How would you implement each in a class design?
3 13418
1. What does the following do:
void afunction(int *x)
{
x=new int;
*x=12;
}
int main()
{
int v=10;
afunction(&v);
cout<
Post New C++ General Questions
Is c++ fully object oriented?
Why is standard template library used?
What is called array?
Why struct is used in c++?
What is rtti in c++?
What operators can you overload in c++?
Can we inherit constructor in c++?
Explain queue. How it can be implemented?
What language does google use?
What are stacks? Give an example where they are useful.
Write about the stack unwinding?
Are strings immutable in c++?
What are the advantages of using pointers in a program?
what is upcasting in C++?
What is c++ in english?