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 |
What is difference between COBOL and VS COBOL II?.
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.
What is length is cobol?
how do u link sub pgm to main pgm ?
What is Redefines clause?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
how do you reference the rrds file formats from cobol programs
Why we should use cursor ?
wht is packed decimal in cobol
wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
can we use COPY statement in w-s section? how?
how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array