Tokens - Tokens are the smallest individual unit of a program . C++ generally has following tokens 1] Keyword 2] Identifiers 3] Literals 4] Punctuators 5] Operators 1] Keywords - ...
In C++ programming language , there are generally 5 types of errors and these are as - 1] Syntax error - Syntax error occurs when programming languages are misused that is when a grammatical rule of C++ is violated. 2] Semantic error - semantic error occurs when the statement are not meaningful . semantic refers to the rule which gives the meaning of the statements. 3] Type error - if a function is given a wrong type of data type error is signaled by a compiler. 4] Run time error - ...