Consider the following:
77 A PIC 9(10)
77 B PIC 9(10)
77 C PIC 9(19)
MULTIPLY AB BY B GIVING C
Which of the following is true ?
(a) The execution of the above may result in size error.
(b) The execution of the above will result in size error.
(c) The definition of C is invalid resulting in compilation
error.
(d) No error will be thee and the program would proceed
correctly.
Answer Posted / abinand shetty
re c is the correct one as maximum numerical declaration
can be 9(18) .so above will result in compilation error
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
How do you define a variable of comp-1 and comp-2?
Can you please let me know the centre name of INS certification in Kolkata.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Write the code to count the sum of n natural numbers.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what is difference between cobol and cobol/400
how do you reference the fixed unblock file formats from cobol programs
What is rmode(24)
What is the difference between Global and External Variables?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Difference between cobol and cobol-ii?
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
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