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

Advertisements
Advertisements
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

Advertisements

Solution

None of these

Concept: Character Set in C-Programming
  Is there an error in this question or solution?
2017-2018 (June) CBCGS

APPEARS IN

Share
Notifications



      Forgot password?
Use app×