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 is wrong with this statement? Myname = 'robin';

0 Answers  


what is diffrence between string and character array?

1 Answers  


What do you mean by c?

0 Answers  


What is binary tree in c?

0 Answers  


Do you know the difference between exit() and _exit() function in c?

0 Answers  






How can you tell whether two strings are the same?

0 Answers  


How can I write functions that take a variable number of arguments?

0 Answers  


How does struct work in c?

0 Answers  


where are auto variables stored? What are the characteristics of an auto variable?

0 Answers  


Difference between Shallow copy and Deep copy?

0 Answers  


Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?

1 Answers   IBM,


What is the purpose of sprintf?

0 Answers  


Categories