Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



write a c program to find reminder and quotient if one number is divided by other.to code this pro..

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

write a c program to find reminder and quotient if one number is divided by other.to code this pro..

Answer / aravindan

first no:1
second no:2
ans:1 0

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More C Interview Questions

main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }

6 Answers  


Who invented bcpl language?

0 Answers  


What is the difference between a structure and a union?

2 Answers  


What are the rules for identifiers in c?

0 Answers  


how to write optimum code to divide a 50 digit number with a 25 digit number??

0 Answers   MGM,


how to find greatet of 10 numbers without using array?

4 Answers  


why do some people write if(0 == x) instead of if(x == 0)?

0 Answers  


Where is volatile variable stored?

0 Answers  


i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4

2 Answers  


Why doesn't C support function overloading?

2 Answers  


How does placing some code lines between the comment symbol help in debugging the code?

0 Answers  


Explain why can’t constant values be used to define an array’s initial size?

0 Answers  


Categories