01 a pic 9(9v99)

01 b pic 9(9.99)

wht will be the stored vales in both cases

Answers were Sorted based on User's Feedback



01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / sudhir

r u new to cobol? i have never seen pic 9(9v99).

i dont know how Chandrakant Sinha answered it and how there are 5 votes saying his answer is correct

Is This Answer Correct ?    6 Yes 0 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / garry

IL-logical question.

Is This Answer Correct ?    0 Yes 0 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / vinith

@SUDHIR


CHNADRAKANTH SINHA HAS SAID THAT IT WUD USE 3 NYTES AND 4
BYTES OF STORAGE ASSUMING THAT (V) DOESNT TAKE SPACE WHILE
(.) DOES.........AND THAT IS RIGHT

BUT AS U SAID I HAVE NEVER SEEN CODE WITH PIC 9(9V99).THTAS
WRONG

Is This Answer Correct ?    0 Yes 0 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / venkat

i think question is 01 a pic 9(9)v99 --it's occupy memory space is -11bites
&01 b pic 9(9).99--it's occupy memory space is -12bites

Is This Answer Correct ?    1 Yes 1 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / chandrakant sinha

3 and 4

Is This Answer Correct ?    6 Yes 7 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / praveen

I also not seen such declation in COBOL.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree

3 Answers   Merrill Lynch,


what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.

2 Answers  


Write a program to explain size error.

0 Answers  


what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C

3 Answers   TCS,






what is the default print format? in cobol

3 Answers   HSBC,


Which is not true about evaluate statement

0 Answers  


HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?

2 Answers   Cap Gemini,


give the examples for strings and unstrings in cobol

2 Answers   IBM,


What are different data types in cobol?

0 Answers  


Whats the use of Examine command? can someone help me?

1 Answers   IBM,


How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


Categories