Sunday, 27 November 2011

C++ Program For Using Putback Function


#include<iostream.h>
#include<conio.h>
#include<fstream.h>
void main()
 {
   char c;
   cin>>a;
   cin.putback(a);
   cin>>b;
   cout<<a<<b;
   getch();
 }

No comments:

Post a Comment