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 function of the keyword ‘volatile’ in C++?
Explain about templates of C++.
Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?
daily Routine of father
What are advantages of using friend classes?
What are move semantics?
Write is a binary search tree? Write an algo and tell complexity?
What is the exit function in c++?
What are the benefits of c++?
Which algorithm do you like the most? Why?
Explain storage qualifiers in c++.
Can a constructor throw a exception? How to handle the error when the constructor fails?