#include int main() { char buffer[256] ; int x1 = 0 ; sprintf( buffer , "%d" , 25 ) ; printf( "Buffer %s\n" , buffer ) ; sscanf ( buffer, "%d" , &x1 ) ; printf( "x1: %d\n" , x1 ) ; /* sprintf( buffer , "%d-Test" , 25 ) ; printf( "Buffer %s\n" , buffer ) ; sscanf ( buffer, "%d-Test" , &x1 ) ; printf( "x1: %d\n" , x1 ) ; */ return ( 1) ; }