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 COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X will be
(a) 10
(b) 00
(c) compile-time error
(d) none of these




February 02, 2008 16:11:51 #1
 roopali3   Member Since: February 2008    Total Comments: 5 

RE: Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X will be (a) 10 (b) 00 (c) compile-time error (d) none of these
 

Answer is (a) 10

     

 

Back To Question