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
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?
void main() { int i=5; printf("%d",i++ + ++i); }
why integer range between -327680to+32767
Explain about block scope in c?
write program on arrays
What is the heap?
what is function pointer?
Can we increase size of array in c?
When the macros gets expanded?
How can I call a function, given its name as a string?
what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }
Magic square