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 |
BY seeing a program how can we say that it is static call or dynamic call
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to recover a deleted source physical file from library?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
i need a small 3d program using inline and outline.
can any one help -s806
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
i Want All cobol ERROR codes?
Can we redefine the field of x(200) to less than 200?
How many variables can be declared in w-s section.?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
Write the code implementing the perform … varying.