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
How are 16- and 32-bit numbers stored?
What is 02d in c?
What is getch c?
what are the advantages of a macro over a function?
What is structure padding and packing in c?
What does s c mean on snapchat?
Explain how can I remove the trailing spaces from a string?
What is abstract data structure in c?
Can you please explain the difference between exit() and _exit() function?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What does %d do in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What are the different types of objects used in c?
Explain how do you declare an array that will hold more than 64kb of data?
What is the value of uninitialized variable in c?