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
write a program to display all prime numbers
What is the hardest programming language?
Write a C program to count the number of email on text
How do I swap bytes?
shorting algorithmS
How to find a missed value, if you want to store 100 values in a 99 sized array?
What are 3 types of structures?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
How can I do peek and poke in c?
Can we replace the struct function in tree syntax with a union?
What is quick sort in c?
Explain how can you determine the size of an allocated portion of memory?
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?
Not all reserved words are written in lowercase. TRUE or FALSE?
Difference between macros and inline functions? Can a function be forced as inline?