Computer Science, asked by reenakalakar5490, 6 months ago

Inta=6,b=4[a/b] write the output

Answers

Answered by AbdulHafeezAhmed
15

The correct code:

int a = 6, b= 4

cout<<a/b;

The output will be 1 and not 1.5, because the datatype used is int, and it returns only whole numbers

Please mark em brainliest

Similar questions