#include <stdio.h>
#include <stdlib.h>

int main () 
{
   int n;
   int *a;

   a = (int*)calloc(10, sizeof(int)); // calloc fonksiyonu verildiği adet carpı veri türünün kapladığı yer alanını RAM üzerinde "0" veya "\0" olarak tahsis edilmeyi garanti eder. Geri dönüş değeri pointerdır ve free fonksiyonu ile RAM alanına geri aktarılır. Kullanım bırakılır.
   
   free( a );
   
   return(0);
}

5 Comments

John · 01/10/2024 at 15:06

… [Trackback]

[…] Info on that Topic: durukanbal.com/2021/01/17/c-calloc-function-example/ […]

rtp dultogel · 05/10/2024 at 17:12

… [Trackback]

[…] Read More on that Topic: durukanbal.com/2021/01/17/c-calloc-function-example/ […]

once human cheats · 13/10/2024 at 11:29

… [Trackback]

[…] Read More on to that Topic: durukanbal.com/2021/01/17/c-calloc-function-example/ […]

PGSLOT โบนัสแตกโหดทุกวัน · 22/10/2024 at 01:05

… [Trackback]

[…] Read More on that Topic: durukanbal.com/2021/01/17/c-calloc-function-example/ […]

llucabet · 22/10/2024 at 03:19

… [Trackback]

[…] There you can find 61137 additional Information to that Topic: durukanbal.com/2021/01/17/c-calloc-function-example/ […]

Leave a Reply

Avatar placeholder