Followings are C++ keywords almost never used. Nevertheless, explain each of following keywords. :-)
1) auto
2) explicit
3) export
4) mutable
5) register
6) volatile
Comments:
#1 – must know if you’ve ever learned C.
#2 – must know if you want to use C++, cuz some ppl use this keyword from time to time.
#3 – I myself didn’t know export keyword.
#4 – See http://www.parashift.com/c++-faq-lite/const-correctness.html#faq-18.13
#5 – you might have seen this keyword if you’ve used C about ten yrs ago.
#6 – must know if you want to use threads in C/C++; however, not to use them, but to avoid them. The volatile keyword is nothing but useless one.
Leave a Reply