IBM COBOL400 Question:
Download Job Interview Questions and Answers PDF
What is the difference between comp & comp-3?
Answer:
Comp : Store the data in Binary formate, it will take less
space compare to Comp-3.
Comp-3 : Store the data in Pack decimal,it will take more
space compare to Comp.
Example :
S9(18)
Comp : takes 4 bytes
Comp-3: takes 10 bytes
space compare to Comp-3.
Comp-3 : Store the data in Pack decimal,it will take more
space compare to Comp.
Example :
S9(18)
Comp : takes 4 bytes
Comp-3: takes 10 bytes
Download IBM COBOL400 Interview Questions And Answers
PDF
Previous Question | Next Question |
How array can be declare in cobol? | What is comp? |