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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between typedef struct and struct?

1114


What Is The Difference Between Null And Void Pointer?

1267


How to get string length of given string in c?

1069


What is the difference between abs() and fabs() functions?

1135


What is a buffer in c?

1010


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1954


Why is void main used?

1103


What is #include stdio h?

1128


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

2279


How do you define CONSTANT in C?

1286


Write a program to print ASCII code for a given digit.

1101


What is string length in c?

1110


Which is better pointer or array?

1035


Explain enumerated types in c language?

1057


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

1006