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

In C language, a variable name cannot contain?

1273


Explain what are the different data types in c?

1215


Explain what is the best way to comment out a section of code that contains comments?

1131


What is the advantage of using #define to declare a constant?

1096


What is the maximum length of an identifier?

1184


What is scanf_s in c?

1119


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1255


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1236


What is the difference between c and python?

1166


What are shell structures used for?

1048


What is the use of sizeof () in c?

1046


What is a list in c?

1030


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2877


What is character constants?

1178


How arrays can be passed to a user defined function

1021