With in these three which one is the default one Call
Reference, Call By Value, Call By Content.-Which one is
default?
Answer Posted / shilpa
we can call the subprogram by refarence or content, but
call by refarence is default.
call by refarence: when we are passing the value from
mainprogram to subprogram if any changes in subprogram it
reflect also in main program but in call by content if any
changes in subprogram it wont reflect on mainprogram.
we can call the subprogram by dynamically or statically.in
this scenario the default is static call. in dynamic call
we call the program by value. in static call we call the
program by literal.
first we understand the main difference between static call
and dynamic call.
if any changes in subprogam in static call it will reflect
in msin program so we can recompile the mainprogram again
but not in dynamic. if we want to change any call program
just change the program name no neeed to change again and
again.dynamic call is faster compared to static call.
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How to print 10 to 1 if the input have only 10 digit number?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Why would you use find and get rather than to obtain?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How do get the result of your program directly on your pc?
Write down the divisions of cobol program?
Mention the guidelines to write a structured cobol program?
What is cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Explain how to differentiate call by context by comparing it to other calls?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the rules of the move verb?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.