So, I ran this code on my code blocks:
#include #include using namespace std; int main() { int a; a=pow(10,9); cout<&
Actually, the maximum value for int is 2,147,483,647, therefore there should be no overflow or truncation (it's an int). And my output is exactly:
int
1000000000 1000000000 1000000000