You are not logged in.

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

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
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


Failure is the first step towards seccess.

2015-09-16 05:04:13

Advertisement
Ads By Google

Re: C Language Arrays And Strings Declaration:



\n

Board footer