Comments in programs
a = 3 + 2;
//This line is fine
b = a++ + +a;
// This line is erroneous
c = a++ + +a;
Question: To which line is // This line is erroneous
referring to?
- ie, are the comments referring to the line above or the one after it?
Options
Client: This is the specification, it explains everything.
The specification:Two Zero Two Four
Could be any of these. Which one though?
- 2024
- 0044
- 0024
- 2044
An 'admission'
'I did it', says son of surgeon accused of murder.
Who made this statement? The surgeon or the son?
'Don't give up like fire'
Found as part of English translation of a song.
- Don't give up ∵ fire doesn't give up ?
- Don't give up, like fire. ∵ fire give up ?
Sign
Please do not cycle in the gardens. You may injure a young child or elderly person.
Second statement is an authorization to injure children and the elderly?