what is call by value and call by reference
Answers were Sorted based on User's Feedback
call by value:The called function sends its value as
argument to calling function.
Call by reference:The calling function sends address of
variable to the called functin.
| Is This Answer Correct ? | 16 Yes | 3 No |
CALL BY VALUE :
this means whenever ur arguments in the function contains only values without passing any addresses is called as call by value..
CALL BY REFERENCE :
this means that whenever u pass an address as an arragument when u call an function , that is called as reference by call
thank u
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / bharat
call by value means u call function with argument as value
of variable.
and
call by reference means u call function with argument as
address of variable
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rina
function is call the value called the call by values
and the function call the address called the call by
refrence....
| Is This Answer Correct ? | 2 Yes | 2 No |
Program to write some contents into a file using file operations with proper error messages.
Explain how can type-insensitive macros be created?
1. Write a program to reverse every second word in a given sentence.
main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}
What are the types of functions in c?
How to declare a variable?
Write a code on reverse string and its complexity.
What is pointers in c?
Write a program in C to convert date displayed in gregorian to julian date
Tell us bitwise shift operators?
What is data type long in c?
code for concatination of 2 strings with out using library functions?