What will happen when you attempt to compile and run the code below, assuming that you enter the following sequence: 64 100
#include
#include
#include
#include
using namespace std;
int main ()
{
string s;
getline(cin, s);
stringstream input(s);
stringstream output;
for( ; !input.fail() ; )
{
int i;
input>>hex>>i;
output< } cout< return 0; } What will be the result assuming that user will enter following sequence: 64 100:
Currently there are no comments in this discussion, be the first to comment!