You are not logged in.

#1 2015-09-16 04:59:46

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 Quiz:

C Programming Quizzes C Language Arrays And Strings

Directions:
Consider the following type definition.
typedef char x[10];
x myArray[5];

Question:
What will sizeof(myArray) be ? (Assume one character occupies 1 byte)

Option A):
15
Option B):
10
Option C):
50
Option D):
30

Correct Answer is Option C):
50


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

2015-09-16 04:59:46

Advertisement
Ads By Google

Re: C Language Arrays And Strings Quiz:



Board footer