Programming

286   Articles
286
a

auto keyword in C++ 11

1 Min Read
0 1198
1 Min Read
0 1198

The meaning of the auto keyword is changed in C++ 11. Before C++ 11 Prior to C++ 11, it was under the list of storage class specifiers which tells the compiler where to store the variable and also the lifetime…

Continue Reading
V

Volatile in C/C++

2 Min Read
0 1333
2 Min Read
0 1333

volatile is a pre-defined keyword that is used to specify that the value in the variable may change at any time during the program execution. It prevents the compiler from optimizing the instructions. Syntax:  <type-qualifier> <Datatype> <identifier> Example: volatile int…

Continue Reading
Exit mobile version