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 / jaya prakash

Answer is D.
It is not a pointer to pointer.So we cannot use two stars.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a local block?

1087


write a program to create a sparse matrix using dynamic memory allocation.

4900


Explain union. What are its advantages?

1081


What is extern c used for?

1065


What is the difference between struct and typedef struct in c?

1128


please explain every phase in the "SDLC" in the dotnet.

2622


Is c++ based on c?

1074


How do you do dynamic memory allocation in C applications?

1089


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2186


Can 'this' pointer by used in the constructor?

1096


Is c still relevant?

1088


What is getche() function?

1050


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3975


When should a far pointer be used?

1136


Can i use “int” data type to store the value 32768? Why?

1192