I am facing an overflow problem for this case and getting output as 7392445620511834112
, I wanted to multiply 2 large values of b and c and want to store that value.
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll b=1000000000000000000;
ll c=2000000000000000000;
ll out=b*c;
cout<<out;
}