top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How Realloc in c works?

+2 votes
How Realloc in c works?
posted May 5, 2014 by Vishvachi Tiwari

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

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

answer May 5, 2014 by Harshita
Similar Questions
+5 votes

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?

0 votes

How can I write an ASSEMBLER in C programming language for calculating mathematical operations?

+3 votes

How to print current date and time in C/C++, sample program will help?

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.