643 views
0 0 votes
float a =10 is not a semantic error but in the semantic phase int a =10.0 will be a semantic error or not bcz compiler cannot do explicit type conversion..so it must be an error...but when I am running this program this is showing no error...

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
0 0 answers
278
278 views
Dknights asked Oct 8, 2023
278 views
Can someone explain the chart and table for the below grammar for LR(1)?E->numE->E+E/E*E
0 0 votes
0 0 answers
408
408 views
samarpita asked Dec 13, 2021
408 views
https://gateoverflow.in/908/Gate-cse-2003-question-18Here ” In fact only for the L-attributed grammar made from a LL(1) grammar, we can always guarantee a bottom-up parsi...
0 0 votes
0 0 answers
599
599 views
samarpita asked Dec 10, 2021
599 views
we know that a + *b there is no semantic error but a + /b is a syntax error or semantic error?
2 2 votes
0 0 answers
1.0k
1.0k views
samarpita asked Dec 10, 2021
1,010 views
My question is here that...we know what is static single assignment code ...that the left side we will be a new variable...and in 3 address code there is no such thing......