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

Post New Answer

More C Interview Questions

A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

0 Answers  


What is #line in c?

0 Answers  


WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"

3 Answers  


Difference between linking and loading?

0 Answers  


Explain what are run-time errors?

0 Answers  






give an example of type casting by a simple c program

2 Answers   TCS,


What do you mean by invalid pointer arithmetic?

0 Answers  


extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }

2 Answers  


write a method for an array in which it can display the largest n next largest value.

1 Answers   Value Labs,


What is null pointer constant?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL

0 Answers  


Can a variable be both static and volatile in c?

0 Answers  


Categories