It means copy its part of an expression operator terms

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Assignment = = is an operator! It means `copy ' It's part of an expression (operator, terms) with 2 Terms: --right-hand side(RHS): source value --left-hand side (LHS): dest. variable myvar = ((n+5)<=a) && q ) C OP Y d3 20 Expressions: Assignment = = is an operator! It means `copy ISE !!! ISE !!! !!! SURPR !!! SURPR o! too! mmy var to ummy var Makes a du Makes a d ' It's part of an expression (operator, terms) with 2 Terms: --right-hand side(RHS): source value --left-hand side (LHS): dest. variable myvar = ((n+5)<=a) && q ) C OP Y d3 21 d4 Expressions "Why should we care? The compiler does it all for us!" myvar = (((n+5)<=a) && q) Because: Every nested step uses `phantom' variables, COMPILER decides on typ...
View Full Document

Ask a homework question - tutors are online