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"

Submitted by: Administrator
a) char str1[3] = "ab"
Submitted by:

Read Online C++ New And Delete Job Interview Questions And Answers