You are not logged in.

#1 2015-09-11 05:48:54

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Valid Array Declaration:

C Programming Quizzes C++ Placement

Question:
Which of the following are valid array declaration:

Option A):
char str1[3] = abc
Option B):
char str1[2] = ab
Option C):
char str1[0] = ab
Option D):
char str1[3] = ab

Correct Answer is Option D):
char str1[3] = ab


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-11 05:48:54

Advertisement
Ads By Google

Re: Valid Array Declaration:



\n

Board footer