Advertisement Remove all ads

Select the Correct Option from Multiple Choice Question.What Will Be the Output of Following Programvoid Main() {Int X[]={10,20,30,40,50};Printf(“\N%D%D%D%D”,X[4], 3[X], X[2], 1[X], X[0]); } - Structured Programming Approach

Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads
MCQ

Select the correct option from multiple choice question.

What will be the output of following program
Void main() {int x[]={10,20,30,40,50};
printf(“\n%d%d%d%d”,x[4], 3[x], x[2], 1[x], x[0]); }

Options

  • Error

  • 10 20 30 40 50

  • 50 40 30 20 10

  • None of these

Advertisement Remove all ads

Solution

None of these

Concept: Character Set in C-Programming
  Is there an error in this question or solution?

APPEARS IN

Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×