Advertisement Remove all ads

Select the Correct Option from Multiple Choice Question.What Will Be the Output?Void Main() {Int Y;Y=0x10+010+10;Printf(“\Ny=%X”,Y); } - Structured Programming Approach

Advertisement Remove all ads
Advertisement Remove all ads
MCQ

Select the correct option from multiple choice question.

What will be the output?
Void main() {
Int y;
y=0x10+010+10;
printf(“\ny=%x”,y); }

Options

  • y = 34

  • x = 34

  • y = 22

  • Error

Advertisement Remove all ads

Solution

y = 22

Concept: Data Input and Output in C-Programming
  Is there an error in this question or solution?
Advertisement Remove all ads

APPEARS IN

Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×