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
Answers were Sorted based on User's Feedback
Answer / 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 |
How many parameters should a function have?
What is f'n in math?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Why isnt there a numbered, multi-level break statement to break out
Explain what is the difference between functions getch() and getche()?
why u join this call center?
Why doesn't C have nested functions?
simple program for virtual function?
How do I get a null pointer in my programs?
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
What is memory leak in c?
What is malloc and calloc?