Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Explain the difference between call by value and c...
1.
Explain the difference between call by value and call by reference in C language?
Answer»
S.no
Call By Value
Call By Reference
1.
Passing variable
VALUES
when calling a function is
CALLED
Call By Values
Passing variable location when calling a function is called Call By Reference
2.
Values of calling function variable to get
COPIED
into dummy variables
Address of actual variables get copied into the dummy variables
3.
Changes have no
IMPACT
on values of actual variables
Changes can
MANIPULATE
real variables
4.
Cannot alter the values of actual variables
Possible to alter the values of variables
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How to get string length of given string in C?
Write a program to find the biggest number of three numbers in C?
How we can insert comments in a C program?
Explain the difference between #include "..." and #include in C?
Explain the difference between structs and unions in C?
What are the string functions? List some string functions available in C.
What is the purpose of main( ) in C language?
Write a program to print numbers from 1 to 100 without using loop in C?
Write a program to generate random numbers in C?
What is modifier & how many types of modifiers available in C?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies