What is the difference between strcpy() and strncpy()?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Will the following program execute?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
Can a constructor be private?
What is the purpose of the "delete" operator?
Explain what are the sizes and ranges of the basic c++ data types?
What is a buffer c++?
What does ctime() do?
Write about the role of c++ in the tradeoff of safety vs. Usability?
Differentiate between a pointer and a reference with respect to c++.
What is class and structure in c++?
Difference between struct and class in terms of access modifier.
Describe delete operator?
How do we implement inheritance in c++?