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 New modifiers?
Compare and contrast compilers from interpreters.
What is main function in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
what is the height of tree if leaf node is at level 3. please explain
What does c in a circle mean?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What is line in c preprocessor?
what are non standard function in c
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is a structure member in c?
What is an operator?
Linked lists -- can you tell me how to check whether a linked list is circular?
What is 1d array in c?