You are not logged in.

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

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

C Language Arrays And Strings Quiz:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … nd-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


Failure is the first step towards seccess.

2015-09-16 04:59:48

Advertisement
Ads By Google

Re: C Language Arrays And Strings Quiz:



Board footer