Saturday, 25 February 2017

The C language is. (GATE CS 2002)


a) A context free language
b) A context sensitive language
c) A regular language
d) Parsable fully only by a Turing machine
Answer (a)
Most programming languages including C, C++, Java and Pascal can be approximated by context-free grammar and compilers for them have been developed based on properties of context-free languages

No comments:

Post a Comment