What is the difference between #import and #include in c++?
No Answer is Posted For this Question
Be the First to Post Answer
How does com provide language transparency?
What is null c++?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
What is object in c++ example?
What is the Difference between "printf" and "sprintf"?
7 Answers iSoft, PentaWare, TCS,
what is upcasting in C++?
Difference between class and structure.
What is the difference between global int and static int declaration?
What is the syntax for a for loop?
What is the use of function pointer?
How do you establish an is-a relationship?