Why ctype h is used in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Explain stack unwinding.
What is implicit conversion/coercion in c++?
Why was c++ made?
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 the function of I/O library in C++ ?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list
What is the use of endl in c++?
What's the order in which the local objects are destructed?
difference between macro and function?
Write a program to concatenate two strings.
What is the difference between "calloc" and "malloc"?
How many keywords are used in c++?