Take an example snippet in c++

```
int a,b,c;
cin >>a>>b;
c=a*b;
cout<<c;
```

For small numbers this is just a snippet to multiply 2 numbers

But if

```
a=100000000
b=1000000000000000000
```

Then this code don’t give the desired output

Because the product of the numbers crosses the range of int data type

How to fix this issue so taht for any two numbers till infinity also we can find product

Can you help me sort out this issue …

Source: Windows Questions C++