What is the difference between CALL BY VALUE and CALL BY
CONTENT?
Answers were Sorted based on User's Feedback
Answer / prakash
both are same, this should be a difference between call by
reference and by value/content.
Here we send the address of he data in first case and the
value/content in second case.
| Is This Answer Correct ? | 17 Yes | 7 No |
Answer / sridevi
Call by value will not return the data back to the calling
program
Call by reference shares the common storage for the
variables used between the calling and called program and
the called program returns the data back to the calling
program through by reference
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / michael
call by reference:
pass pointer to data
call by content:
copy data into temporary, pass pointer to temporary
call by value:
pass data
if the called program is a cobol program the
address of the receiving linkage data item is set to the
passed data value
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / suputhru
CALL BY VALUE = CALL BY CONTENT both are same.
Here we send the value/content.
CALL BY REFERENCE: we will send the address of he data.
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / kapil arya
Call By Value, its point to data directly that is why its
faster than the call by reference.
But in Call by Referenc, it points the address of data so
it takes more time in camparison of Call by value.
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / shashikumar.d
if we can do any modification in forml arguments that
change can't effected actual arguments. this is known as
call by value.
if we can do any modification in forml arguments that
change can effected to actual arguments. this is known as
call by content.
| Is This Answer Correct ? | 15 Yes | 18 No |
How to retrive the 9th records out of ten records using the cobol program ?
what is a zoned decimal data type and how it will be stored?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.
16 Answers IBM, TCS,
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
What is ASKTIME, SUSPEND
How do you compile cobol program..?
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
What are the pertinent COBOL
Can we move X(7) to S9(7) COMP?
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
wht is load module and object module ?