(Move to ...)
▼
Program to illustrates gets( ) & puts( ) function
#include <iostream.h>
#include <conio.h>
#include<stdio.h>
void main( )
{
char str[20] ;
cout << "\n Enter any string :" ;
gets(str);
puts( " The string is : " ) ;
puts(str) ;
getch( );
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment