1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Standard XII
Mathematics
Compound Statement
Which of the ...
Question
Which of the following code will produce lexical error?
A
/
∗
∗
/
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
"
"
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
′
′
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is
D
None of these
option (d)
(
a
)
.
′
′
is character constant
(
b
)
"
"
is
˙
string constant
(
c
)
/
∗
∗
/
is comment
Suggest Corrections
0
Similar questions
Q.
Which of the following results lexical error?
Q.
Which of the following is not a functionality of lexical analysis?
Q.
Consider the following C program:
Program 1:
#include <stdio.h>
int main( )
{
float x;
while (x
≥
5)
Printf ("%d",x);
}
Program 2:
# include <stdio.h>
int main ( )
{
int temp,_temp2;
@_/ / Hello World
return 0;
}
Which of the above gives lexical error ?
Q.
Which of the following rule is used in lexical analysis to identify the tokens?
Q.
Consider the following 'C' code
main()
{
int x = 10;
x = x + 10:24;
}
If above code is complied which of the follwing error is produced?
View More
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
Compound Statement
MATHEMATICS
Watch in App
Explore more
Compound Statement
Standard XII Mathematics
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app