what is call by value and call by reference ?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are declaratives and what are their uses in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Have you used comp and comp-3 in your project? And how?
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Write a program to explain size error.
What is the difference between perform … with test after and perform … with test before?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is static and dynamic call in cobol?
What is a scope terminator give example?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How many bytes S(8) comp field occupy and its maximum value?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?