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
How can I list all of the predefined identifiers?
What is a function simple definition?
What is variable and explain rules to declare variable in c?
What is the right type to use for boolean values in c? Is there a standard type?
How many levels deep can include files be nested?
Why does this code crash?
Using which language Test cases are added in .ptu file of RTRT unit testing???
Is c object oriented?
How can I do serial ("comm") port I/O?
p*=(++q)++*--p when p=q=1 while(q<=6)
Can we assign string to char pointer?
Is c pass by value or reference?
Do you know what are the properties of union in c?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
Write a program to implement queue.