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: Administratora) char str1[3] = "ab"
Submitted by:
Submitted by:
Read Online C++ New And Delete Job Interview Questions And Answers
Top C++ New And Delete Questions
☺ | Explain realloc()? |
☺ | Explain the difference between realloc() and free()? |
☺ | What is new operator and delete operator? |
☺ | What is dynamic memory management for array? |
☺ | You can use C++ as a procedural, as well as an object-oriented language? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |