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

write a program to rearrange the array such way that all even elements should come first and next come odd

2224


What are the different types of control structures?

986


Explain how do you print only part of a string?

1160


How are Structure passing and returning implemented by the complier?

1106


Why string is used in c?

954


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2345


What tq means in chat?

1063


What are the types of assignment statements?

1006


Explain how can I prevent another program from modifying part of a file that I am modifying?

1037


What are qualifiers in c?

983


Do pointers store the address of value or the actual value of a variable?

1020


How can a string be converted to a number?

965


Can we change the value of static variable in c?

971


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2042


What are the disadvantages of c language?

1121