Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Token
Mayankprakash
asked
in
Compiler Design
Aug 9, 2018
edited
Nov 3, 2018
by
Lakshman Bhaiya
513
views
1
vote
1
vote
No of token?
$a b c d + y{^3}+(2-5+x$ $6/2$$--;$
Please suggest how to count token in this type of questions?
compiler-design
compiler-tokenization
Mayankprakash
asked
in
Compiler Design
Aug 9, 2018
edited
Nov 3, 2018
by
Lakshman Bhaiya
by
Mayankprakash
513
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
16..crct me if iam wrong
d.bhavani shankar
answered
Sep 26, 2018
by
d.bhavani shankar
comment
Follow
share this
3 Comments
by
Manas Mishra
commented
Sep 30, 2018
reply
Follow
share this
how can be 16 , its 20 { as -- is 1 token}
0
0
by
d.bhavani shankar
commented
Oct 1, 2018
reply
Follow
share this
Yaa 20..I made a counting mistake
0
0
by
sandygate
commented
Nov 21, 2018
reply
Follow
share this
according to me number of tokens are 15. how are you getting 20.
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
0
answers
1
Aakash_
asked
in
Compiler Design
Nov 20, 2018
999
views
Self Doubt Token Count - Character Literal
How many tokens are there ? int main() { char name={'A','A','K','A','S','H'}; return 0; } Please give any reference if possible, my doubt is about the characters in the braces, do we count them individually or like a string.
Aakash_
asked
in
Compiler Design
Nov 20, 2018
by
Aakash_
999
views
compiler-tokenization
compiler-design
1
vote
1
vote
1
answer
2
ankit_thawal
asked
in
Compiler Design
Feb 1, 2018
721
views
cd lexical analysis token
1. macros are not considered as tokens in tokenizing. 2.#include considered as single token 2.stdio.h considered as single token. Are the above statements true?
ankit_thawal
asked
in
Compiler Design
Feb 1, 2018
by
ankit_thawal
721
views
compiler-design
lexical-analysis
compiler-tokenization
true-false
2
votes
2
votes
1
answer
3
Mk Utkarsh
asked
in
Compiler Design
Jan 5, 2018
1,012
views
Lexeme and Token
A lexeme is an identifier for a token? True or False
Mk Utkarsh
asked
in
Compiler Design
Jan 5, 2018
by
Mk Utkarsh
1.0k
views
compiler-tokenization
compiler-design
1
vote
1
vote
1
answer
4
dhairya
asked
in
Compiler Design
Aug 28, 2016
474
views
Is 1.02e+4 is a token in C program...??
dhairya
asked
in
Compiler Design
Aug 28, 2016
by
dhairya
474
views
compiler-design
lexical-analysis
compiler-tokenization
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy