what is call by value and call by reference ?
Answers were Sorted based on User's Feedback
Answer / srinivasa yadav
CALL BY VALUE: THE MEMORY AREA FOR ACTUAL AND FORMAL
PARAMETERS ARE DIFFERENT.
CALL BY REFERENCE: THE MEMORY AREA FOR ACTUAL AND FORMAL
PARAMETERS ARE SAME. SO WHATEVER VALUES HAS CHANGED IN
FORMAL PARAMETERS WILL BE EFFECTED TO ACTUAL PARAMETERS.
| Is This Answer Correct ? | 24 Yes | 2 No |
Answer / 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 |
Answer / raghunathareddy
call by value means intialize the vatriable..cal by ref means
calling the reference....
| Is This Answer Correct ? | 6 Yes | 7 No |
Can anyone please give the example of Inline Perform.
s9(18) comp-3:: What is the size of memory it takes internally?
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
What are the different ways to run a COBOL DB2 program using JCL?
Can we redefine the field of x(200) to less than 200?
how to access vsam files in cobol and how to differentiate that this is ESDS file
What is the difference between comp and comp-3?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
how do you reference the esds vsam file formats from cobol programs
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
what will happen if i give program name and member name as different? program runs successful or w'll abend?