What do you understand by passing by reference and passing by content?
Passing by reference, is passing the ADDRESS of a variable--to a subprogram. The subprogram is able to change the value contained in the variable.
Passing by content is passing the DATA contained within a variable--to a subprogram. The subprogram can NOT change the value of the data in the (calling program's) variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
how the control comes back from subprogram to mainprogram
) What is the use of IGNORE?
What is comp-1 and comp-2?
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
give the examples of strings in cobol
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.
I have a occurs for 100 times but it has executed 101 time what could be the reason?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.