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
What does extern mean in a function declaration in c++?
How do I get good at c++ programming?
How many ways can a variable be initialized into in C++?
Do you know what are static and dynamic type checking?
What is c++ hiding?
Should you pass exceptions by value or by reference?
How to construct muliton object
What are the different data types present in C++?
What would happen on forgetting [], while deallocating an array through new?
What does it mean to declare a member function as static?
Do the parentheses after the type name make a difference with new?
What is the difference between reference type and pointers.