GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  TCS  >  COBOL

 Print  |  
Question:  Consider the following piece of code
01 GROSS-PAY
05 BASIC-PAY PIC 9(5)
05 ALLOWANCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWANCES has a value of 250, what will be displayed by the statement DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250




November 11, 2007 06:52:07 #2
 aravindatcts   Member Since: November 2007    Total Comments: 1 

RE: Consider the following piece of code 01 GROSS...
 
its b
     

 

Back To Question