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

How can you dynamically allocate memory in C?

Answer Posted / nashiinformaticssolutions

Memory can be dynamically allocated using functions like malloc(), calloc(), realloc(), and freed using free().

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is NULL pointer?

1040


How can a program be made to print the line number where an error occurs?

1036


If I have a char * variable pointing to the name of a function ..

1113


When should the register modifier be used? Does it really help?

920


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1015


What is a program flowchart?

1125


Can we initialize extern variable in c?

1076


In a switch statement, explain what will happen if a break statement is omitted?

997


What are the header files used in c language?

995


Explain how do you generate random numbers in c?

1043


I heard that you have to include stdio.h before calling printf. Why?

1006


What is getch () for?

1149


What is the difference between text and binary i/o?

997


Differentiate between a for loop and a while loop? What are it uses?

1132


What is the use of static variable in c?

1044