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

Is flag a keyword in c?

1216


Are local variables initialized to zero by default in c?

1095


Write a program to swap two numbers without using the third variable?

1115


Explain union. What are its advantages?

1125


What standard functions are available to manipulate strings?

1205


What is storage class?

1122


What does dm mean sexually?

1381


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

2121


What is wrong with this program statement? void = 10;

1311


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

1147


difference between native and cross compilers

2171


What is the difference between #include

and #include “header file”?

1080


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

6391


Can you please explain the difference between strcpy() and memcpy() function?

1120


What is meant by inheritance?

1151