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?
What are the different types of condition in cobol and write their forms.
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between goback, stop run and exit program in cobol?
What are different data types in cobol?
how do you reference the esds vsam file formats from cobol programs
How to know whether the module is dynamical or statistical?
what is difference between cobol and cobol/400
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how do you reference the rrds file formats from cobol programs
What is redefines clause in COBOL?
how to move the records from file to array table. give with code example
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Which is not true about evaluate statement
i want a program using by if, evaluate , string, unstring, perform, occurs?