| |
GeekInterview.com > Placement Papers > TCS > COBOL
| Print | |
Question: consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VALUE 123.45 after the statement MOVE W-A TO W-B what will be W-B value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
|
| May 05, 2008 09:29:28 |
#5 |
| wattamwar |
Member Since: May 2008 Total Comments: 1 |
RE: consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VALUE 123.45 after the statement MOVE W-A TO W-B what will be W-B value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move |
| Answer would be b23.75 (where b indicates space) |
| |
Back To Question | |