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 is volatile variable in c?
What are examples of structures?
What is meant by 'bit masking'?
How can I determine whether a machines byte order is big-endian or little-endian?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
#include
How do c compilers work?
Explain b+ tree?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is the 'named constructor idiom'?
What is enumerated data type in c?
Why we use void main in c?
What are loops in c?
Explain modulus operator.
What is dynamic memory allocation?