what is call by value and call by reference ?

Answer Posted / pradeep reddy

call by reference is a defoult if we change farmal
parameters then actual parameters also get changed..
call by value: its user defined if we change farmal
parameters not effected actual parameters...

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is link edit in cobol?

947


Can we change the password using ALTER? anyone tried and changed?

1750


Write a program that uses move corresponding.

874


Describe the cobol database components?

899


What is the difference between Global and External Variables?

935


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3952


Explain how you can characterize tables in cobol?

822


) How do u handle errors in BMS macro?

1626


What is length is cobol?

865


For rewrite, why is it mandatory that file needs to be opened?

845


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1416


Differentiate between structured cobol programming and object-oriented cobol programming.

841


Discuss about changing dataset name in proc.

959


What the difference is between continue and next sentence?

877


What are the various section in data division and briefly explain them.

918