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?

Answers were Sorted based on User's Feedback



How can you dynamically allocate memory in C?..

Answer / nashiinformaticssolutions

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

Is This Answer Correct ?    0 Yes 0 No

How can you dynamically allocate memory in C?..

Answer / hr@tgksolutions.com

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

More C Interview Questions

what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

2 Answers   IBM,


what is develop in c language

2 Answers  


How many levels of pointers have?

0 Answers  


write a program to print infinte number

4 Answers  


Differentiate between new and malloc(), delete and free() ?

0 Answers   iNautix,


Why c is known as a mother language?

0 Answers  


please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 Answers  


what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }

3 Answers   Honeywell,


What is the difference between a function and a method in c?

0 Answers  


What are the different types of linkage exist in c?

0 Answers  


What are dangling pointers in c?

0 Answers  


a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above

3 Answers  


Categories