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

Is the exit() function same as the return statement? Explain.

1154


Why do we need arrays in c?

1204


List the variables are used for writing doubly linked list program.

2079


Explain what is the difference between text files and binary files?

1215


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2745


What is table lookup in c?

1144


Where does the name "C" come from, anyway?

1214


How can you restore a redirected standard stream?

1171


What is the use of bit field?

1231


Can you define which header file to include at compile time?

1069


Is it fine to write void main () or main () in c?

1075


Do you know what are bitwise shift operators in c programming?

1150


Is there a built-in function in C that can be used for sorting data?

1338


What happens if you free a pointer twice?

1134


How can you tell whether two strings are the same?

1306