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 are disadvantages of C language.
What is meant by errors and debugging?
What is variable initialization and why is it important?
Is null equal to 0 in sql?
What is ctrl c called?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What are the types of operators in c?
What is c language & why it is used?
Which of these functions is safer to use : fgets(), gets()? Why?
Write a code on reverse string and its complexity.
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(); }
What is keyword in c?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Can a pointer be static?
Can a pointer be null?