what is the difference between call by value and call by
reference?

Answer Posted / rama krishna sidhartha

Call by value means passing the values.

Call by reference means passing the address of the variables
given.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array of structure in c?

611


Who invented bcpl language?

715


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

4850


explain what are pointers?

631


Which one would you prefer - a macro or a function?

613






What is break statement?

647


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

696


How can I convert a number to a string?

616


What is strcpy() function?

664


Give me the code of in-order recursive and non-recursive.

895


Under what circumstances does a name clash occur?

704


Write a program to swap two numbers without using third variable?

823


Is it valid to address one element beyond the end of an array?

692


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2208


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

663