149 views

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
aoao asked Sep 6, 2018
188 views
I am getting 5 as answer.I am not getting the solution approach? How did sign of A of production 5 get 0?
0 votes
0 votes
1 answer
2
Soumya Tiwari asked Nov 27, 2018
1,259 views
Consider the following transition rules:A->BCC->+BC|A|$\epsilon$B->DB{print '+'}|$\epsilon$D->(A)|id{print num.value}On input '5+67' this translation scheme printsA 5+67+...
1 votes
1 votes
0 answers
3
Soumya Tiwari asked Nov 21, 2018
569 views
Consider the following C fragmentFro(int x=0;x<=n;x++)Which type of error detected by the C compiler for the above code?A.Lexical ErrorB.Suntactic ErrorC.Semantic ErrorD....
0 votes
0 votes
0 answers
4
Soumya Tiwari asked Nov 21, 2018
568 views
Find the line number in which lexical error present in the following program.1.main()2.{3.int x;y;z;4./*comment1*/5./*com/*ment2*/end*/6.x="A";7.}