You are not logged in.

#1 2015-09-16 05:16:51

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

C Language Arrays And Strings:

C Programming Quizzes C Language Arrays And Strings

Question:
Which of the following statements are correct about an array?
1. The array int num[26]; can store 26 elements.
2. The expression num[1] designates the very first element in the array.
3. It is necessary to initialize the array at the time of declaration.
4. The declaration num[ SIZE ] is allowed if SIZE is a macro.

Option A):
2, 3
Option B):
1
Option C):
2, 4
Option D):
1, 4

Correct Answer is Option D):
1, 4


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

2015-09-16 05:16:51

Advertisement
Ads By Google

Re: C Language Arrays And Strings:



Board footer