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

in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

985


What 'lex' does?

1112


Are the outer parentheses in return statements really optional?

1070


Why does notstrcat(string, "!");Work?

1100


Tell us something about keyword 'auto'.

1024


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1067


How can I write functions that take a variable number of arguments?

1093


How can I write a function that takes a format string and a variable number of arguments?

1008


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

2018


Is javascript written in c?

1034


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1749


What is c++ used for today?

1070


What is a c token and types of c tokens?

1021


Why do some versions of toupper act strangely if given an upper-case letter?

1052


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

1273