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

Answer Posted / raju

Call by Value: C support the call by value, where the caller
pass the value to the function and the updates on the
function will not effect on the caller.

Call by reverence: Here will pass the reference of the
variable to function, the update on the function variables
will effect on the caller.

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define circular linked list.

560


What does c mean in basketball?

552


What is 2 d array in c?

544


What is the difference between test design and test case design?

1560


How can I recover the file name given an open stream or file descriptor?

584






What is a file descriptor in c?

553


What is sizeof return in c?

606


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1414


What is structure padding and packing in c?

608


Can we declare variables anywhere in c?

563


What is getche() function?

599


What are 3 types of structures?

582


what is ur strangth & weekness

1804


What do you mean by c?

574


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1049