#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;
}


4 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/ […]

ฉลากสินค้า · 30/10/2024 at 01:54

… [Trackback]

[…] Info to that Topic: durukanbal.com/2021/01/16/c-atoi-function-example/ […]

สินเชื่อรถบรรทุก · 08/11/2024 at 11:48

… [Trackback]

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

Leave a Reply

Avatar placeholder