These are compilers questions
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.
a. True
b. 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;
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.
a. True
b. False
Answer: 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:
a - Error
b - Error
c - Ok
d - Error
Comments
Leave a comment