C++ New And Delete Question:
Download Questions PDF

C++ supports ….

a) constant pointer
b) pointer to a constant
c) None of above
d) Both of above

C++ New And Delete Interview Question
C++ New And Delete Interview Question

Answer:

d) Both of above

Download C++ New And Delete Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following are valid array declaration?

a) char str1[3] = "ab"
b) char str1[3] = "abc"
c) char str1[2] = "ab"
d) char str1[0] = "ab"
char * const ptr1 = "nice";

//this is example of ,

a) constant pointer
b) pointer to a constant
c) None of above
d) Both of above