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


Please Help Members By Posting Answers For Below Questions

What are disadvantages of C language.

649


What is meant by errors and debugging?

649


What is variable initialization and why is it important?

621


Is null equal to 0 in sql?

655


What is ctrl c called?

598






Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

606


What are the types of operators in c?

612


What is c language & why it is used?

582


Which of these functions is safer to use : fgets(), gets()? Why?

635


Write a code on reverse string and its complexity.

609


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(); }

1859


What is keyword in c?

604


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1455


Can a pointer be static?

625


Can a pointer be null?

565