Given a piece of code
int x[10];
int *ab;
ab=x;
To access the 6th element of the array which of the
following is incorrect?
(A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
Answer Posted / sandzee
d
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What do you mean by keywords in c?
string reverse using recursion
What are the types of macro formats?
Explain c preprocessor?
List some applications of c programming language?
What is the difference between scanf and fscanf?
Is there any demerits of using pointer?
Explain how do you convert strings to numbers in c?
What are volatile variables in c?
What is a constant and types of constants in c?
Why do we use c for the speed of light?
What are the valid places to have keyword “break”?
Why c language is called c?
to find the closest pair
where are auto variables stored? What are the characteristics of an auto variable?