What is "Call by content" and "call by reference"?

Answer Posted / santy

'Call by Content' means value of the variable is passed to
the subprogram and after modification on this variable in
sub-program will not effected in main program.

'Call by Address' is opposite to above. Here address of the
variable is pass to the sub-program at the time of call and
modification on this passed variable in sub-prog will be
effected in main program.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is inspect verb is used in cobol?

672


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1587


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1900


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

671


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

819






What is the difference between goback, stop run and exit program in cobol?

920


What is the Purpose of POINTER Phrase in STRING command in COBOL?

715


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

746


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


What is the difference between comp and comp-3?

694


How do u write test cases?

1633


What is difference between static and dynamic call in cobol?

773


Write the code implementing the perform … varying.

639


Name the sections present in data division.

698