given the piece of code
int a[50];
int *pa;
pa=a;
to access the 6th element of the array which of the
following is incorrect?
a.*(a+5)
b.a[5]
c.pa[5]
d.*(*pa + 5)
Answer Posted / jaya prakash
Answer is D.
It is not a pointer to pointer.So we cannot use two stars.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How many levels deep can include files be nested?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What is array in C
Why isnt any of this standardized in c?
What is the difference between scanf and fscanf?
What is "Hungarian Notation"?
Why we use break in c?
Explain the use of fflush() function?
Why & is used in scanf in c?
What is a pointer in c?
What are nested functions in c?
what is the structure pointer?
Is c call by value?
What are the types of assignment statements?
What are the different categories of functions in c?