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 default value of global variable in c?
What is the benefit of using an enum rather than a #define constant?
What is difference between main and void main?
Did c have any year 2000 problems?
Which is better oop or procedural?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Can you write the function prototype, definition and mention the other requirements.
why return type of main is not necessary in linux
Explain the ternary tree?
What are the 32 keywords in c?
What is getche() function?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
what is the difference between class and unio?
Write a program for finding factorial of a number.
Explain why C language is procedural?