What are the restrictions of a modulus operator?
Answer / Saurendra Singh Paliwal
The modulus operator (% or remainder operator) has the following restrictions: (1) The dividend and divisor must be integers. (2) If the divisor is zero, the result is undefined. (3) The result can be either positive or negative depending on whether the divisor is greater than zero or less than zero.
| Is This Answer Correct ? | 0 Yes | 0 No |
What will be the outcome of the following conditional statement if the value of variable s is 10?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What do mean by network ?
what is the difference b/w NULL and null?
Explain 'far' and 'near' pointers in c.
why i join syntel?
23 Answers ABC, Syntel, TCS,
What is maximum size of array in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Differentiate between full, complete & perfect binary trees.
What are the parts of c program?
What is the role of && operator in a program code?