what is the differance between pass by reference and pass
by value.
Answer Posted / vijaya
in pass by value only the actual value of a variable is
copied to a formal parameter & it doesn't effects the
actual value when any operations r done on it
where
in pass by refference we r sending address of variables it
gives exact results but any oprations done on it may effect
actual values
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are identifiers in c?
How the c program is executed?
What is double pointer in c?
main() { printf("hello"); fork(); }
Is c procedural or functional?
What is gets() function?
How can I convert a number to a string?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What are identifiers and keywords in c?
What is local and global variable in c?
What are the different types of endless loops?
What are bitwise shift operators in c programming?
What is a volatile keyword in c?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
Explain can static variables be declared in a header file?