% Arithmetic Operators in C, Modulus Operator and remainder of after an integer division.
C Programming Language Operators and Enums in C Language (Article) Operators and Enums in C Language (Program)
1138Program:
#include"stdio.h" void main() { int a = 23; int b = 10; int c ; c = a % b; printf(" Value of c is %d\n", c ); }
Output:
Value of c is 3 Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.