#include <stdio.h>
#include <stdlib.h>     // atoi()

int main ()
{
  int i;
  char buffer[256] = "32";

  i = atoi (buffer); // atoi buffer içerisindeki string değişkenini tam sayı türüne dönüştürerek geri dönüş yapar.

  return 0;
}


2 Comments

Digital Marketing Agency · 16/10/2024 at 08:20

… [Trackback]

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

llucabet · 22/10/2024 at 04:19

… [Trackback]

[…] There you will find 23144 more Info on that Topic: durukanbal.com/2021/01/16/c-atoi-function-example/ […]

Leave a Reply

Avatar placeholder