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
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
What does iomanip mean in c++?
You want to link a c++ program to c functions. How would you do it?
What are the benefits of c++?
What do nonglobal variables default to a) auto b) register c) static
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What does std mean in c++?
How do I write a c++ program?
Why is c++ awesome?
What are the new features that iso/ansi c++ has added to original c++ specifications?
What does ios :: app do in c++?