Question-61. What is ‘std’ ?
Answer- Default namespace defined by C++.
Question-62. What is the full form of STL ?
Answer- Standard template library.
Question-63. What is ‘cout’ ?
Answer- cout is the object of ostream class. The stream ‘cout’ is by default connected to console output device.
Question-64. What is ‘cin’ ?
Answer- cin is the object of istream class. The stream ‘cin’ is by default connected to console input device.
Quedtion-65. What is the use of the keyword ‘using’ ?
Answer- It is used to specify the namespace being used in.
Question-66. If a pointer declared for a class, which operator can be used to access its class members ?
Answer- Arrow (->) operator can be used for the same.
Question-67. What is difference between including the header file with-in angular braces < > and double quotes “ “ ?
Answer- If a header file is included with in < > then the compiler searches for the particular header file only with in the built in include path. If a header file is included with in “ “, then the compiler searches for the particular header file first in the current working directory, if not found then in the built in include path.
Question-68. S++ or S=S+1, which can be recommended to increment the value by 1 and why ?
Answer- S++, as it is single machine instruction (INC) internally.
Question-69. What is the difference between actual and formal parameters ?
Answer- The parameters sent to the function at calling end are called as actual parameters while at the receiving of the function definition called as formal parameters.
Question-70. What is the difference between variable declaration and variable definition ?
Answer- Declaration associates type to the variable whereas definition gives the value to the variable.