Your IP : 216.73.216.40


Current Path : /var/www/html/prashantkr/TurboC/TCWIN45/BIN/
Upload File :
Current File : /var/www/html/prashantkr/TurboC/TCWIN45/BIN/file1.cpp

//wap to check whether the string is palindrom or not

#include<iostream.h>
#include<conio.h>
#include<fstream.h>

void main()
	 {
		  char str[2000];
		  fstream file_op("c:\\test_file.txt",ios::in);
		  while(file_op >> str)
		  {
			cout << str;
		  }
		  file_op.close();
		getch();
		 // return 1;

	 }