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 is formal argument?

1092


What are c header files?

951


Is fortran still used today?

1041


Is calloc better than malloc?

974


Write a program which returns the first non repetitive character in the string?

1054


When should the const modifier be used?

1060


What does the function toupper() do?

1065


What is scanf_s in c?

1067


What is typedef?

1329


Explain which function in c can be used to append a string to another string?

1037


How do you write a program which produces its own source code as output?

1060


What is #line in c?

961


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1018


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1010


Explain the difference between exit() and _exit() function?

1109