Which command properly allocates memory
a) char *a=new char[20];
b) char a=new char[20];
c) char a=new char(20.0);
No Answer is Posted For this Question
Be the First to Post Answer
How a pointer differs from a reference?
What are the techniques you use for debugging?
What is object file? How can you access object file?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
What is the difference between a reference and a pointer?
Why do we use the using declaration?
Explain the difference between overloading and overriding?
What is the difference between a type-specific template friend class and a general template friend class?
What are special characters c++?
What are c++ data types?
What is a try block?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?