Code how to read 5th element of the array?

Answers were Sorted based on User's Feedback



Code how to read 5th element of the array?..

Answer / ggp

In COBOL we can directly access the particular index of the
array using subscript.

Eg: Arrayname(5)
or
Move 5 to indx
Arrayname(indx).

Is This Answer Correct ?    22 Yes 0 No

Code how to read 5th element of the array?..

Answer / dc

%lookup

Is This Answer Correct ?    4 Yes 14 No

Post New Answer

More COBOL400 Interview Questions

what is INPUT PROCEDURE and OUTPUT PROCEDURE?

2 Answers  


write a cobol program to display prime numbers between 1 to 100?

5 Answers   Cap Gemini, NISA,


Explain the output procedure?

0 Answers  


what is the cobol compiler?

2 Answers   TCS,


How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code

5 Answers   CGI,






define sort? and its syntax?

3 Answers  


What is perform?

0 Answers  


what is PERFORM? and its types?

7 Answers  


What are fillers?

0 Answers  


what is the difference between comp & comp-3?

4 Answers  


Explain the types of perform?

0 Answers  


Explain the difference between section, paragraph and sentences?

0 Answers  


Categories