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 action and transformation in spark?
Is c language still used?
What is the difference between malloc() and calloc()?
Do you know null pointer?
Explain the ternary tree?
What is substring in c?
What is non linear data structure in c?
Explain what is the benefit of using enum to declare a constant?
What is unary operator?
Explain what are reserved words?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
List some basic data types in c?
What math functions are available for integers? For floating point?
How many header files are in c?
When should a type cast be used?