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 / fazlur rahaman naik

d is the right answer.

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of arrays in c?

1095


What is typedef example?

1112


What is extern storage class in c?

943


What is a stream water?

1127


How do you determine the length of a string value that was stored in a variable?

1081


Why cant I open a file by its explicit path?

989


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2412


What is define directive?

1074


Do pointers take up memory?

1081


What are local variables c?

960


How do you define a string?

1048


What is the difference between a function and a method in c?

1034


Why do we use namespace feature?

1009


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1096


What is a structure and why it is used?

1135