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
Explain what is meant by high-order and low-order bytes?
What is context in c?
Difference between exit() and _exit() function?
How can you access memory located at a certain address?
How many keywords (reserve words) are in c?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
Write a program to generate the Fibinocci Series
What is #include stdio h?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is the modulus operator?
why we wont use '&' sing in aceesing the string using scanf
What are different types of variables in c?
Tell me what is null pointer in c?
Write a program to check whether a number is prime or not using c?
What is the use of getch ()?