A token is the smallest element of a program that is meaningful to the compiler. Tokens can be classified as follows:
Keywords
Identifiers
Constants
Strings
Special ...
Share
As the name suggests the name constants is given to such variables or values in C programming language which cannot be modified once they are defined. They are fixed...
Share
The Function prototype serves the following purposes –
1) It tells the return type of the data that the function will return.
2) It tells the ...
Share
What is a structure?
A structure is a user defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different types i...
Share
Error is an illegal operation performed by the user which results in abnormal working of the program.
Programming errors often remain undetected until the program is ...
Share
C++ is a general purpose programming language and widely used now a days for competitive programming. It has imperative, object-oriented and generic programming featu...
Share
Learning  C++ programming can be simplified into:
Writing your program in a text-editor and saving it with correct extension(.CPP, .C, .CP)
Compiling your...
Share
All variables use data-type during declaration to restrict the type of data to be stored. Therefore, we can say that data types are used to tell the variables the typ...
Share
Loops in programming comes into use when we need to repeatedly execute a block of statements. For example: Suppose we want to print “Hello World” 10 tim...
Share
There comes situations in real life when we need to make some decisions and based on these decisions, we decide what should we do next. Similar situations arises in p...
Share