1. C language is an example of imperative / procedural language, but since it is old (no OO or functional programming allowed), is no more required to industry.
True or False
2. Considering an ANSI C compiler what can represent a lexical error?
a. a = )a+(b;
b. a = 0.0a;
c. if (a=3) a++;
d. a = α{"version":"1.1","math":"α"}~b;
Answer 1) False
2) option a and b representing lexical error.
Comments
Leave a comment