1,858 views
6 votes
6 votes

Consider the following code

$x =  (y + 5) + (^*z)  * 10 - x /3 $

Which of the following correctly identified by lexical analysis after scanning the above code?

  1. 5 Identifiers
  2. 3 literals
  3. 4 Identifiers
  4. 6 literals

1 Answer

Related questions

4 votes
4 votes
2 answers
2
jatin khachane 1 asked Nov 23, 2018
1,255 views
int main() { int a,b; a=10; b=15; printf("a=%d,b=%d",a++,b ); }The number of tokens in the above C program is_________.I am getting 30The answer given is 29
2 votes
2 votes
5 answers
3
Mizuki asked Nov 11, 2018
1,832 views
What it the number of tokens in the following line?printf("%d numbers.", &x);
1 votes
1 votes
2 answers
4
Lovejeet Singh asked Nov 7, 2018
1,185 views
How will the compiler detect whether "if" is a keyword or an identifier?Please tell me the concept behind this.