Why main function is special in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Name some pure object oriented languages?
What are member functions used in c++?
What is lambda expression c++?
What is the best c++ compiler?
What is a null object in c++?
Find the second maximum in an array?
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 are the different types of Storage classes?
What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }
How do you initialize a class member, class x { const int i; };
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
Can we distribute function templates and class templates in object libraries?