Computer Science, asked by parry8277, 8 months ago

1 point
Which of the following are incorrect statements?
1) if(a==7) printf("IncludeHelp");
2) if(7==a) printf("IncludeHelp");
3) if(a=7) printf("IncludeHelp");
4) if(7=a) printf("IncludeHelp

Answers

Answered by sarojraipure713
0

Explanation:

Sorry I don't know,.......

Answered by codiepienagoya
1

Option 4 is incorrect option to this question.

Explanation:

  • In the given C language code, Option 4 is incorrect because in this option in the print method syntax is illegal, and other choices were correct which can be described as follows:
  • In option 1 and option 2, It checks the value of the variable if the value matches, it will print "IncludeHelp".
  • In option 3, if the block, variable an assign a value that is 7, and it will print a value that is "IncludeHelp", that's the above option is correct.

Learn more:

  • If block: https://brainly.in/question/1555802
Similar questions