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

if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1206


What are header files and explain what are its uses in c programming?

1176


What is spaghetti programming?

1202


What are the types of variables in c?

1088


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2576


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1120


What are the different categories of functions in c?

1182


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2230


What is a list in c?

1087


What is indirection?

1152


Was 2000 a leap year?

1093


What does != Mean in c?

1095


What do you mean by dynamic memory allocation in c?

1153


What is the use of sizeof?

1068


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2225