What is RAII (Resource Acquisition Is Initialization)?
Answer / nashiinformaticssolutions
RAII is a programming idiom where resource allocation is tied to the lifetime of an object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does there exist any other function which can be used to convert an integer or a float to a string?
When the design recommends static functions?
What do you mean by delegate? Can a user retain delegates?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is the stack?
How do you clear a buffer in c++?
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }
What is helper in c++?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
is throwing exception from a constructor not a good practice ?
How do you write a function that can reverse a linked-list?
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];