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 a built-in function in C?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is the difference between printf and scanf in c?
"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
Explain how can I convert a string to a number?
What is optimization in c?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
In C, What is the #line used for?
What is the purpose of sprintf() function?
Give me the code of in-order recursive and non-recursive.
What are different types of operators?
to find the closest pair
How can I sort more data than will fit in memory?
Describe the order of precedence with regards to operators in C.
What are linker error?