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
How do shell structures work?
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300
Tell us bitwise shift operators?
Explain what is page thrashing?
What's the difference between calloc() and malloc()?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is the difference b/w main() in C language and main() in C++.
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Can a function argument have default value?
What is a struct c#?
what is the first address that gets stored in stack according to a C or C++ compiler???? or what will be the first address that gets stored when we write a C source code????????
What is meant by initialization and how we initialize a variable?