percent=marks/1100*100;
In C there is integer math and floating-point math and each operation happens between their respective types. If marks is an integer, say, 1099, then the first part does...
Type: Posts; User: c99tutorial
percent=marks/1100*100;
In C there is integer math and floating-point math and each operation happens between their respective types. If marks is an integer, say, 1099, then the first part does...