Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / pradeep

answer: D(invalid indirection)

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is #line used for?

1011


What does char * * argv mean in c?

999


How can I invoke another program or command and trap its output?

1046


Where are c variables stored in memory?

1023


What are structure members?

1027


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1325


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1227


Is file a keyword in c?

886


What is the use of linkage in c language?

1011


What is cohesion and coupling in c?

984


what are bit fields? What is the use of bit fields in a structure declaration?

2045


What is integer constants?

1015


Explain how can I convert a number to a string?

1100


Why does everyone say not to use scanf? What should I use instead?

1367


write a program to concatenation the string using switch case?

2035