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 / shivangi
c is the wrong answer
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What is the maximum no. of arguments that can be given in a command line in C.?
Why #include is used in c language?
What is wrong with this initialization?
Are the outer parentheses in return statements really optional?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What is a pragma?
What are the types of pointers in c?
What is the purpose of ftell?
What does. int *x[](); means ?
What is the size of array float a(10)?
What is c language and why we use it?
how do you execute a c program in unix.
What are the main characteristics of c language describe the structure of ac program?
write a program to concatenation the string using switch case?
Why we write conio h in c?