1. Write a function to display the sum of two numbers in the following ways:
By using (i) pass by value (ii) pass by address
a. function with argument and with return value
b. function with argument and without return value
c. without argument , with return value
d. without argument , without return value
Note: Use pass by address.
No Answer is Posted For this Question
Be the First to Post Answer
What is string concatenation in c?
write a program for even numbers?
what is inline function?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
How do I declare a pointer to an array?
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
What is the difference function call by value & function call by reference?
Why is c called c not d or e?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
What are the header files used in c language?
write a program to check whether a number is Peterson or not.
Why is C called a middle-level language?