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 the maximum no. of arguments that can be given in a command line in C.?

1087


Why #include is used in c language?

994


What is wrong with this initialization?

955


Are the outer parentheses in return statements really optional?

1050


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

1019


What is a pragma?

1078


What are the types of pointers in c?

972


What is the purpose of ftell?

1034


What does. int *x[](); means ?

1014


What is the size of array float a(10)?

1092


What is c language and why we use it?

1004


how do you execute a c program in unix.

1075


What are the main characteristics of c language describe the structure of ac program?

1149


write a program to concatenation the string using switch case?

2035


Why we write conio h in c?

964