Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4204


What is the difference between Call and a Link?

1257


Mention the guidelines to write a structured cobol program?

1136


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1358


What are the various section in data division and briefly explain them.

1246


Write a program to explain size error.

1238


What is the difference between binary search and sequential search?

1128


Differentiate between structured cobol programming and object-oriented cobol programming.

1210


What the difference is between continue and next sentence?

1215


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1226


Which division and paragraphs are mandatory for a COBOL program?

1324


What are the pertinent COBOL

2619


what happens if parmparameter passes zero bytes to the program

2175


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.

1496


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1290