What will be output of the following code#includeusing namespace std;class abc{ public : void main() { cout
Latest Answer: In a proces which issues wait( ) will suspend itself until either a certain process terminated(wait(n), n is PID) or all process terminated (wait()). Delay is like pausing for a certain period of time, same as sleep( ). ...
Latest Answer: In case of Array , the ArrayName is Nothing but a Base Address, when we use [] operator , it treats leftmostvalue as a base address and rightside value as an offset so it adds BaseAddress+Offset and get target addresswhere actually value is stored , BaseAddress+Offset ...
Latest Answer: Yes, Mail can be overriden, but not overlaoded ...
Latest Answer: 1. In macro the format is used #define
but inline function use inline keyword additional in function prototype format.
2. When we use macro definition
like_#define cube(a) a*a*a
int a=2;
int i=cube(++a);
the expression becomes
i=(++a)*(++a)*(++a);
then ...
Latest Answer: Its just by using new and delete operators which will allocate at runtime as in C++In C,v hav to use malloc,free operators . ...
Latest Answer: A variable declared in one file can be used in another file by declaring it as extern in the second file. ...
1.different types of languages compare in c++ and other lanuages2.oops concepts in other language oops
How can double dimensional arrays be dynamically initialized in C ?
Latest Answer: There are multiple ways to do this :1. int **arr = (int**) malloc(nrows * sizeof(int*)); for (i=0 ; i
Latest Answer: My answer is, since constructor can be private, destructor can be private too. It is called implicitly, so it won't matter if it is public or private. ...
View page << Previous 10 11 12 13 [14] 15 16 17 18 19 Next >>

Go Top