Hi there,
I just want to verify my answers for the given fragment of code:
a = + + b ; c = d - / * - e * / - f ;
No. of tokens? - 19
lexically correct? - my guess Yes ( can anyone tell me what "lexically" correct means with reference to the above code fragment )
syntactically correct? - NO (can anyone tell me reason why?)
----After squeezing out the white space----
a=++b;c=d-/*-e*/-f;
No. of tokens? - 12 (comment is omitted)
lexically correct? - my guess again is Yes
syntactically correct? NO (because of minus sign and comment in between)
Thanks for any help! :)