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 / fazlur rahaman naik
d is the right answer.
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Why is c platform dependent?
When should you use a type cast?
What are compound statements?
What is the use of function overloading in C?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What is void pointers in c?
What is array of structure in c?
Can you mix old-style and new-style function syntax?
Which function in C can be used to append a string to another string?
writ a program to compare using strcmp VIVA and viva with its output.
What language is lisp written in?
Can we use visual studio for c?
Why can arithmetic operations not be performed on void pointers?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.