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...

What is the memory allocated by the following definition ?
int (*x)[10];

Answer Posted / niraj singh

It will occupy 2 bytes of memory(In 16-bit system).
Explanation: int (*x)[10] means pointer to an array of 10
integers , not an array of 10 nos. of integer pointers. So
any pointer can take two bytes of memory.

Is This Answer Correct ?    32 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will be the outcome of the following conditional statement if the value of variable s is 10?

1294


How many levels of pointers can you have?

1194


What is meant by inheritance?

1090


Explain what is the most efficient way to store flag values?

1232


What is return type in c?

1138


Which is the best website to learn c programming?

1078


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2388


Write a program to print fibonacci series without using recursion?

1139


what is the significance of static storage class specifier?

2262


Explain what is the stack?

1102


What is the difference between array and linked list in c?

1160


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

1259


Explain how can I convert a number to a string?

1152


Why do we use null pointer?

1066


What should malloc() do?

1171