Explain modulus operator.
Answer / Santanu Mondal
The "modulus operator" (%) computes the remainder after division. For example, if a is 17 and b is 5, a % b returns 2 because 17 divided by 5 equals 3 with a remainder of 2.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why clrscr is used after variable declaration?
What is define directive?
who is the father of C Language?
20 Answers CTS, UST,
What is a far pointer in c?
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);
How can I manipulate strings of multibyte characters?
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
What is difference between structure and union?
hi , please send me NIC written test papers to sbabavalli@gmail.com
What is difference between array and pointer in c?