write a c program to find reminder and quotient if one number
is divided by other.to code this program don't use more than 2
variables
Answer Posted / juli
void main()
{
int n,d;
printf("Enter two no");
scanf("%d%d",&n,&d);
printf("%d",(n%d));
printf("\t%d",n/d);
}
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the difference between typedef struct and struct?
What Is The Difference Between Null And Void Pointer?
How to get string length of given string in c?
What is the difference between abs() and fabs() functions?
What is a buffer in c?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
Why is void main used?
What is #include stdio h?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
How do you define CONSTANT in C?
Write a program to print ASCII code for a given digit.
What is string length in c?
Which is better pointer or array?
Explain enumerated types in c language?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list