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 ABSTRACT DATA TYPE

4 Answers   Wipro,


please send me the code for multiplying sparse matrix using c

0 Answers  


1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

3 Answers  


What is structure and union in c?

0 Answers  


disadvantages of realloc ?

1 Answers   HCL,






What is default value of global variable in c?

0 Answers  


what is the use of #pragma pack, wer it is used?

2 Answers   Wipro,


provide an example of the Group by clause, when would you use this clause

0 Answers  


what is difference between array of characters and string

18 Answers   Accenture, Nest,


#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?

4 Answers   IIIT,


what is the role you expect in software industry?

0 Answers   HCL,


How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran

0 Answers  


Categories