C belongs to which type of grammar and language.

Is C is a CSL or CFL??

2Comments
ruchi @ruchianand
16 Dec 2017 08:27 pm

CSL

VidyaSagar @spartan
20 Dec 2017 05:47 pm

The languagea like C,Pascal are Context Sensative languages.Due to presence of the following two features which cannot be handled by a PDA:-

1.Variables declared before use.

2.Matching formal and actual parameters of functions.

if u have any further doubt in above ,feel free to ask..

Thank you !!