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 the difference between c and python?
What is putchar() function?
Difference between MAC vs. IP Addressing
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is pragma in c?
What is derived datatype in c?
Explain void pointer?
What is a pointer on a pointer in c programming language?
How can I make it pause before closing the program output window?
What are operators in c?
What is meant by recursion?
Explain the difference between malloc() and calloc() function?
What is the difference between a function and a method in c?
What is array in C