0
718views
What will be the output of the program

Program

void main() {
    int X []= {10,20,30,40,50};
    print f (" \n %d %d %d %d ", x [4] ,3[x] ,x[2] ,l[x] ,x[0] );
    }

A] Error

B] 10 20 30 40 50

C] 50 40 30 20 10

D] None of these

1 Answer
2
5views

Option A. Error

Since the Variable 'l' is not declared. It will give an error "undeclared identifier".

Please log in to add an answer.