retagged by
664 views
0 votes
0 votes
In below line is there any lexical error or not if yes then why?

int A=123456789;
retagged by

2 Answers

1 votes
1 votes
NO

lex error come if they not able to generate token but here it's able to generate token so No lex error

Related questions

0 votes
0 votes
2 answers
1
Mohit Aggarwal asked Dec 1, 2021
1,330 views
what is the difference between lexical error and syntax error?
6 votes
6 votes
7 answers
2
Na462 asked Oct 5, 2018
3,414 views
12 votes
12 votes
5 answers
3
Shubhanshu asked Jan 31, 2018
7,030 views
int main() { int 1a, b; Printf("\nGate 2018"); Printf("%d",x); }How many types of error are there in this code?
7 votes
7 votes
4 answers
4
itsvkp1 asked Nov 1, 2017
3,210 views
if there is miss spelling in some keyword in a program then this misspelled keyword will be treated as lexical errors or it will be treated as a new identifier and accept...