Discuss teh below:
Q1a. What is the output from the following section of FORTRAN code?
ISUM = 0
I = 1
20 IF (I .GT. 4) GO TO 30
ISUM = ISUM + I
I = I + 1
GO TO 20
30 WRITE (*,*) ISUM
b. Write an equivalent section of Java code.
Q2. What is true after the following statements in a C/C++ program have been executed?
int* intPointer;
intPointer = (int*) 500;
*intPointer = 10;