Can we access the a[0] in the array ?

Answer Posted / suresh ramaiyan

It will give compilation time error, as the compiler knows
the value of subscript when compile the program.
ex: A[0]

if you are accessing the same by subscript variable, then
it will give run time error.
ex: A[ws-cnt]

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Call and a Link?

700


Write the code implementing the perform … varying.

646


What is amode(24)?

684


Whats the difference between search & search ALL?

5264


How to print 10 to 1 if the input have only 10 digit number?

811






EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


Write down the divisions of cobol program?

671


What are all the divisions of a COBOL program?

665


Mention the guidelines to write a structured cobol program?

620


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


Can we change the password using ALTER? anyone tried and changed?

1549


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

691


What are literals?

632


What kind of error is trapped by on size error option?

740