You are not logged in.

#1 2015-09-16 05:04:11

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

C Programming Quizzes C Language Arrays And Strings

Directions:
What does the following declaration mean?
int (*ptr)[10];

Option A):
ptr is an array of 10 integers
Option B):
ptr is an pointer to array
Option C):
ptr is array of pointers to 10 integers
Option D):
ptr is a pointer to an array of 10 integers

Correct Answer is Option D):
ptr is a pointer to an array of 10 integers


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

2015-09-16 05:04:11

Advertisement
Ads By Google

Re: C Language Arrays And Strings Declaration:



Board footer