Code: Select all
#include <iostream.h>
int main()
{
int x;
char s[100];
cin>>x;
cin>>s;
cout<<x<<" "<<s<<endl;
return 0;
}
Code: Select all
123nospace
Code: Select all
123 nospace
Does they change input pointer?
(Actually i want to implement this kind of function in java, is it possible?)