Interviewer And Interviewee Guide

C++ New And Delete Interview 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"

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

Read Online C++ New And Delete Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.