tutashore.blogg.se

How to give space in c
How to give space in c





how to give space in c how to give space in c how to give space in c

The % operator can only be used with integers. When a=9 is divided by b=4, the remainder is 1. The modulo operator % computes the remainder. The compiler neglects the term after the decimal point and shows answer 2 instead of 2.25. It is because both the variables a and b are integers. The operators +, - and * computes addition, subtraction, and multiplication respectively as you might have expected.







How to give space in c