How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
5 14541Explain the ISA and HASA class relationships. How would you implement each in a class design?
3 13271
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
What is struct c++?
What is the use of dot in c++?
What is the use of default constructor?
What is time_t c++?
What is dynamic and static typing?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
What is the use of endl in c++?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Does c++ have string data type?
What are separators in c++?
Explain how functions are classified in C++ ?
Describe private, protected and public?
When we use Abstract Class and when we use Interface?where we will implement in real time?
Explain the differences between list x; & list x();.
What is const pointer and const reference?