15 votes 15 votes FORTRAN is a: Regular language. Context-free language. Context-senstive language. None of the above. Theory of Computation gate1987 theory-of-computation identify-class-language + – makhdoom ghaya asked Nov 8, 2016 recategorized Apr 22, 2021 by Lakshman Bhaiya makhdoom ghaya 7.2k views answer comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments amaity commented Oct 5, 2017 i edited by amaity Oct 5, 2017 reply Follow Share http://eng.uok.ac.ir/daneshfar/IntroductionToFormalLanguages/Lecture%205.pdf Here they say it FORTRAN to be CFL. But I think it will be CSL 0 votes 0 votes rishu_darkshadow commented Oct 5, 2017 reply Follow Share ya i think too that FORTRAN is CFL while C, C++ are CSL...but still confused.. 0 votes 0 votes Shiva Sagar Rao commented Jan 30, 2021 reply Follow Share C language is Context – Senstive language. For more information: https://gateoverflow.in/45246/is-c-language-cfl-or-strict-csl 1 votes 1 votes Please log in or register to add a comment.
Best answer 23 votes 23 votes C. Context-sensitive language. Due to the presence of some features which cannot be handled by PDA. Some of the features are: Variable declared before use Matching formal and actual parameters of functions Ravit Anand answered Aug 11, 2017 edited Apr 15, 2021 by Lakshman Bhaiya Ravit Anand comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Option C Context-sensetive language. amaity answered Oct 5, 2017 edited Oct 5, 2017 by amaity amaity comment Share Follow See 1 comment See all 1 1 comment reply Arjun commented Oct 5, 2017 reply Follow Share Most parts of modern languages are context-free and so compiler uses a PDA for doing the syntax check. But some features do require more power and these are done in semantic phase -- making the language context-sensitive. 24 votes 24 votes Please log in or register to add a comment.