Saturday, August 20, 2011

Demonstrate the use of ATOI function to convert interger type chracter to Integer datatype.

//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();
}

Previous Next Home
0 Comments
Comments

Leave a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Twitter Delicious Facebook Favorites More