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
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 |
Explain a file operation in C with an example.
Explain what is the difference between functions getch() and getche()?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
can we have joblib in a proc ?
What is stack in c?
Write a program to use switch statement.
0 Answers Agilent, Integreon, ZS Associates,
What is logical error?
given post order,in order construct the corresponding binary tree
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Why & is used in scanf in c?
Should I learn c before c++?