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 the use of header files?
Are pointers really faster than arrays?
What is function pointer c?
What is ## preprocessor operator in c?
What is variable in c example?
What is the use of sizeof?
Are there namespaces in c?
how to construct a simulator keeping the logical boolean gates in c
What are the benefits of organizational structure?
Can we use visual studio for c?
What is the explanation for prototype function in c?
Explain how do you search data in a data file using random access method?
Is c weakly typed?
Add Two Numbers Without Using the Addition Operator
What is the difference between formatted&unformatted i/o functions?