You are not logged in.

#1 2015-09-12 06:20:37

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

Declaration Mean:

C Programming Quizzes C Language Pointer

Question:
The declaration
int (*p) [5];
means:

Option A):
The same as int *p[5];
Option B):
None
Option C):
p is one dimensional array of size 5, of pointers to integers
Option D):
p is a pointer to a 5 elements integer array

Correct Answer is Option D):
p is a pointer to a 5 elements integer array


Failure is the first step towards seccess.

2015-09-12 06:20:37

Advertisement
Ads By Google

Re: Declaration Mean:



Board footer