C++ New And Delete Question: Download Questions PDF
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"
![C++ New And Delete Interview Answer C++ New And Delete Interview Question](https://globalguideline.com/public/images/interview/3.png)
Answer:
a) char str1[3] = "ab"
Download C++ New And Delete Interview Questions And Answers
PDF