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
Name the sections present in data division.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Which is not true about evaluate statement
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?
What is the difference between external and global variables in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
Have you used comp and comp-3 in your project? And how?
How do you reference the fixed block file formats from cobol programs
How do you reference the following file formats from cobol programs?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How can you get the ksds file records into your cobol program?
Write a program to explain size error.
What rules are followed by the search verb.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc