aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming in C
  • Which of the following is an invalid expression?
Multiple choice

Which of the following is an invalid expression?

  1. a=b+c;

  2. a=b+5;

  3. 5=a;

  4. a=5;

  5. 5==a;

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

5=a; is an invalid statement. = is an assignment operator and left operand of the assignment operator must be a variable.

Keep practicing — related questions

  • Which of the following Boolean expressions is incorrect?
  • Which of the following Boolean expressions is incorrect?
  • Which of the following is NOT a valid symbol to use in an IF condition
  • Which of the following is NOT a valid symbol to use in an IF condition
  • Which of the following is NOT a valid symbol to use in an IF condition
  • Which of the following is NOT a valid symbol to use in an IF condition
  • Which of the following options would be the best choice to define the purpose of writing this passage? Dire...
  • Which of the following best expresses the main idea of the passage? Directions: Read the passage and answer...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy