Realloc() system call is used to increase the size of allocated size earlier. When user figures out that the earlier allocated dynamic memory is not able to fulfill the current requirement. It calls to realloc() .
Can we realloc a string inside a structure?
struct info { char name[20]; int age; char address[20]; }; struct info d[10];
I want to realloc name, how can I do it?
How can I write an ASSEMBLER in C programming language for calculating mathematical operations?
How to print current date and time in C/C++, sample program will help?