Given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

This question is related to TCS Interview

Showing Answers 1 - 3 of 3 Answers

NAGARAJ

  • Sep 21st, 2007
 

ans:(b) both CALL stmt produce different result,because they are "call by reference"
by default,any changes made in the sub pgm affects the main pgm.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions