Answer Posted / chittaranjan
int (*ptr)[10];
is the proper declaration of pointer to an array, i.e. ptr
is a pointer to an array of 10 integers .
Note:
int *ptr[10];
which would make ptr the name of an array of 10 pointers to
type int.
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is typedf?
How can you tell whether a program was compiled using c versus c++?
Is it cc or c in a letter?
Lists the benefits of c programming language?
How can I do peek and poke in c?
Why use int main instead of void main?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Explain how does flowchart help in writing a program?
Differentiate between functions getch() and getche().
Why c is known as a mother language?
What do you mean by recursion in c?
hi send me sample aptitude papers of cts?
What is the benefit of using const for declaring constants?
What does it mean when the linker says that _end is undefined?
how to build a exercise findig min number of e heap with list imlemented?