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

Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both

3 Answers  


Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms

5 Answers   Convex Digital,


What are control structures? What are the different types?

0 Answers  


What language is windows 1.0 written?

0 Answers  


Write a program to print factorial of given number using recursion?

0 Answers  






pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

0 Answers   Subex,


Write a Program to accept different goods with the number, price and date of purchase and display them

0 Answers   HDFC,


Process by which one bit pattern in to another by bit wise operation is?

0 Answers   InterGraph,


#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā€œ%dā€ ,a[i]); }

8 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


Explain what is wrong with this program statement?

0 Answers  


Tell me the use of bit field in c language?

0 Answers  


Categories