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
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is assert and when would I use it?
What is the difference between break and continue?
Can you pass an entire structure to functions?
Write a c program to demonstrate character and string constants?
What does sizeof return c?
What are the 4 types of functions?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
Is void a keyword in c?
Explain the use of #pragma exit?
write an algorithm to display a square matrix.
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Explain how can I remove the trailing spaces from a string?
What are data types in c language?
what is a constant pointer in C