Computer Science, asked by Anonymous, 1 year ago

what are tokens ? In C++

Answers

Answered by PratyushTiwary
9
A token is the smallest element of aC++ program that is meaningful to the compiler. The C++ parser recognizes these kinds of tokens: identifiers, keywords, literals, operators, punctuators, and other separators. A stream of these tokens makes up a translation unit. Tokens are usually separated by white space.
Answered by PulkitStar
2
hey friend! here is your answer-
________________________________________________________
first of all,C++ was developed by professor bjarne stroustrup at AT&T's bell labs. this is an object oriented programming language for creating windows based application and system programs.
________________________________________________________
basically, it is the smallest element in c++ language. there are many types of token in this programming language. there are five types of tokens in C++ language. they are group of elements that are grouped together basically. Tokens are usually separated by white space in C++. the five types of tokens in C++ are-
keywords, identifiers, literals,punctuators,operators according to me.
_________________________________________________________
hope it helps. please mark it brainliest.
#brainlystar-Pulkit

PulkitStar: hope it helps you..............
Similar questions