how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
Answers were Sorted based on User's Feedback
Answer / rana
COMP1 and COMP2 are the Single precision (Full word - 4
bytes) and Double precision (Double word - 8 bytes)
respectively.
They don't contain the Picture Clause.
COMP-3 will contain 8 Bytes.
| Is This Answer Correct ? | 30 Yes | 4 No |
Answer / shiva
COMP1-IT OCCUPIES 4 BYTES TO STORE UP TO 18 CHARACTERS
COMP2-IT OCCUPIES 8 BYTE TO STORE UP TO 18 CHARACTERS
COMP3-IT OCCUPIES HALF BYTE FOR EACH CHARACTER AND HALF BYTE
FOR SIGN...FOR ODD DATA LENGTH SO IT OCCUPIES
(15/2=7.5)+(1/2)=7.5+0.5=8 BYTES.
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / srinivasa yadav
COMP1 : IT TAKES 4 BYTES OF MEMORY.
COMP2 : IT TAKES 8 BYTES OF MEMORY.
COMP3 : IT TAKES 8 BYTES OF MEMORY.
| Is This Answer Correct ? | 18 Yes | 2 No |
tell me about examine inspect and evaluate ?
Write the code to count the sum of n natural numbers.
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
how to transfer the file from pc to mainframe??
How do you reference the fixed block file formats from cobol programs
How to Pass table from a cobol program to another cobol program and how to use that table in called program
Why there is no questions in this column?
What is the difference between a subscript and an index in a table definition?
What is the use of LINKAGE SECTION?
What is ASKTIME, SUSPEND
What should be the sorting order for SEARCH ALL?