10,080 views
35 votes
35 votes

The C language is:

  1. A context free language
  2. A context sensitive language
  3. A regular language
  4. Parsable fully only by a Turing machine

3 Answers

Best answer
78 votes
78 votes

Answer is (B).

All modern programming languages are CSL. Because they contain two features which cannot be handled by PDA.

The features are:

  • variable declared before use and
  • matching formal and actual parameters of functions.
edited by
14 votes
14 votes
Answer:

Related questions

13 votes
13 votes
2 answers
1
Kathleen asked Sep 15, 2014
8,181 views
The results returned by function under value-result and reference parameter passing conventionsDo not differDiffer in the presence of loopsDiffer in all casesMay differ i...
39 votes
39 votes
4 answers
2
Kathleen asked Sep 15, 2014
27,661 views
Consider the following declaration of a two-dimensional array in C:char $a[100][100]$;Assuming that the main memory is byte-addressable and that the array is stored start...