GeekInterview.com
Series: Subject: Topic:
Question: 231 of 231

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

This question is related to TCS Interview
Asked by: Interview Candidate | Asked on: Aug 20th, 2002
Showing Answers 1 - 5 of 5 Answers
Praveen Kumar

Answered On : Sep 27th, 2005

View all answers by Praveen Kumar

Ans is b ie.. 01000250.

Reason is GROSS-PAY is group variable and will display the contents of both the sub variables defined under it.

Yes  2 Users have rated as useful.
  
Login to rate this answer.
aravindatcts

Answered On : Nov 27th, 2007

View all answers by aravindatcts

its b

  
Login to rate this answer.
varun.kan

Answered On : Feb 25th, 2008

View all answers by varun.kan

its b

  
Login to rate this answer.

b.01000250

  
Login to rate this answer.

Answer is B

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.