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 are dangling pointers? How are dangling pointers different from memory leaks?
How do you define a function?
How can I do serial ("comm") port I/O?
Explain how many levels deep can include files be nested?
What is the best way of making my program efficient?
Are local variables initialized to zero by default in c?
How many bytes is a struct in c?
What do you mean by a local block?
I need a sort of an approximate strcmp routine?
Explain Basic concepts of C language?
How do you use a pointer to a function?
Distinguish between actual and formal arguments.
Is c a great language, or what?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Differentiate abs() function from fabs() function.