what is call by value and call by reference ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is amode(24)?

684


how can i see junk values in dclgen or in hostvariable of comp ?

2546


what is difference between cobol and cobol/400

21569


How arrays can be defined in COBOL?

665


Explain the configuration section of a cobol program with examples of syntax.

661






Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2060


What is rmode(any) ?

686


What is redefines clause in COBOL?

851


Write the code implementing the perform … varying.

646


State the various causes of s0c1, s0c5 and s0c7.

665


In COBOL programming, what is PERFORM? What is VARYING?

672


What is the difference between comp and comp-3 usage?

681


What the difference is between continue and next sentence?

665


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1119


For rewrite, why is it mandatory that file needs to be opened?

623