atoi() in C – Syntax, Use and Example

Write a C program to input string representation of integer and convert string to int data type. C program to convert string to integer using atoi() library function.

In programming it is often required to convert string representation of integer to int type. In this post I will explain how to convert string to integer using pre-defined atoi() library function.

Read more