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 is the difference between new() and malloc()?
What is iostream in c++ used for?
Should you pass exceptions by value or by reference?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
What is the syntax for a for loop?
What is microsoft c++ redistributable?
Explain the difference between abstract class and interface in c++?
How are Structure passing and returning implemented by the compiler?
What is fixed in c++?
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.
What are proxy objects in c++?
What is Destructor in C++?