What is "Call by content" and "call by reference"?
Answer Posted / shiva
call by reference passes address of variable to the subprogram
and any changes to this variable will affect the main program
this is bcoz they have allocated the same memory..
whereas in call by content the value of the variable is
passed to the subprogram and any changes to that variable
does not affect the main pprogram..this is bcoz they have
allocated seperate memories.......
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How do u write test cases?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are the pertinent COBOL commands?
State the various causes of s0c1, s0c5 and s0c7.
What is the utilization of copybook in cobol?
What are literals?
What is link edit in cobol?
What is the Purpose of Pointer in the string?
What is an in line perform? When would you use it? Anything else you wish to say about it.
) what is the difference between AID and HANDLE AID?
What is the difference between comp and comp-3?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How can you get the ksds file records into your cobol program?
) how do u code after getting data?