answersLogoWhite

0

What is a token in c?

Updated: 8/11/2023
User Avatar

Wiki User

12y ago

Best Answer

Anything that you can't put whitespace between. The indivisible elements of a program.

Example: printf("Sup world %d",variable);

Tokens: (7 total)

printf

(

"Sup World %d"

,

variable

)

;

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

token is a key word.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

it is predefined keyword.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a token in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is hello is an identifier token?

Yes. The word "hello" can be an identifier token. It is not a reserved word in C or C++, and it meets the criteria for being an identifier.


What are tokens in c language?

in c program the smallest individual unit is called c-token


C programs for BCA sem 1?

whot is a c token Type your answer here...


What is a token in the context of a C program?

smallest individual units of a program


What does implicit in c language means?

Implicit in c means compiler understands what and how to do without any reference of any keyword or token.


What is token in c prog?

In a passage of text,Individual word and punctuation marks are called tokens.


What is token in C programming?

They're things that keep the variables in line with the void main and your functions


What kind of playing pieces are in snakes and ladders?

a board, a token, a marker, your mom and your cousin Hi Joe C.


Who is a special unit of data which acts as a key on a Token Ring?

That's called a "token".That's called a "token".That's called a "token".That's called a "token".


What is meant by token?

A token in C, and in other languages as well, is the largest set of consecutive characters that matches the rules for construction of a parse-able unit of the language.For instance, in the statement a = b+c; the tokens are a, =, b, +, c, and ;.The reason I say "largest set" is to define what happens if more than one rule matches.For instance, in the statement a = b+++c; the tokens are a, =, b, ++, +, c, and ;, and not a, =, b, +, ++, c, and ;. If you mean the other way around, you need to use parentheses.


Who generates the token in token ring?

Uranus


What is the sentence of token?

Black is a token of mourning.