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

What are the salient features of c languages?

0 Answers  


What is the difference between a string and an array?

0 Answers  


what is the difference between postfix and prefix unary increment operators?

3 Answers  


what does static variable mean?

0 Answers   TCS,


can please someone teach me how to create this program using while statement.. this is the output should look like 0 2 4 6 8 10 -thanks.. :) need it asap...

7 Answers  






whats the use of header file in c?

2 Answers  


Explain the use of fflush() function?

0 Answers  


how to find a 5th bit is set in c program

4 Answers   IBM,


What is realloc in c?

0 Answers  


write a program of bubble sort using pointer?

3 Answers   TCS,


write a c program that prints all multiples of 3between 1 and 50.

5 Answers  


Why is structure important for a child?

0 Answers  


Categories