How to add two numbers with using function?
Answer Posted / vinay kumar
suppose x=5 and y=10,Then
while(y!=0)
{
x++;
y--;
}
printf("the sum value is:%d
",x);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is c programing language?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Should I learn c before c++?
How can I read a binary data file properly?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Which programming language is best for getting job 2020?
Hi can anyone tell what is a start up code?
Are c and c++ the same?
Explain spaghetti programming?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
What does sizeof return c?
What is the difference between volatile and const volatile?
Write a program with dynamically allocation of variable.
Can a local variable be volatile in c?
number of times a digit is present in a number