//Program to demonstrate the use of ATOI function to convert interger type chracter to Integer datatype.
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
void main()
{
char a[4]="123";
int b;
b=atoi(a);
printf("%d",b);
getch();
}
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
void main()
{
char a[4]="123";
int b;
b=atoi(a);
printf("%d",b);
getch();
}