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 the piece of code
int a[50];
int *pa;
pa=a;
to access the 6th element of the array which of the
following is incorrect?
a.*(a+5)
b.a[5]
c.pa[5]
d.*(*pa + 5)

Answer Posted / shivangi

c is the wrong answer

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a built-in function in C?

1611


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1090


What is the difference between printf and scanf in c?

1363


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

1105


Explain how can I convert a string to a number?

1106


What is optimization in c?

1030


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2395


In C, What is the #line used for?

2218


What is the purpose of sprintf() function?

1134


Give me the code of in-order recursive and non-recursive.

1378


What are different types of operators?

1047


to find the closest pair

2326


How can I sort more data than will fit in memory?

1118


Describe the order of precedence with regards to operators in C.

1051


What are linker error?

1103