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} .
Answers were Sorted based on User's Feedback
What is the difference between union and structure in c?
main() {int a=200*200/100; printf("%d",a); }
write a c program to find the probability of random numbers between 1-1000
What is the use of parallelize in spark?
What is the advantage of a random access file?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is typedef?
what is c programing
How would you sort a linked list?
What is the scope of static variables?
I didn't count the ducks that I saw in line, but I do remember that one duck was in front of two ducks, another duck behind two ducks. How many ducks did I see?
How can I determine whether a machines byte order is big-endian or little-endian?