What is the precedence when there is a global variable and a local variable in the program with the same name?
1174What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
1116What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
1100When there is a global variable and local variable with the same name, how will you access the global variable?
1157Post New C++ General Questions
What is a breakpoint?
What is an undefined reference/unresolved external symbol error and how do I fix it?
Define Virtual function in C++.
What is the type of 'this' pointer? When does it get created?
What is constructor c++?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What is the difference between delegation and implemented-in-terms-of?
What are the characteristics of friend functions?
Can we delete this pointer in c++?
Does c++ support exception handling?
Explain differences between alloc() and free()?
Can a built-in function be recursive?
Is swift faster than go?
What is the c++ code?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101