What is the outcome of cout<
a) 16
b) 17
c) 16.5
No Answer is Posted For this Question
Be the First to Post Answer
How does a C++ structure differ from a C++ class?
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. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is encapsulation in C++? Give an example.
0 Answers HAL, Honeywell, Zomato,
When copy constructor can be used?
Why do we use iterators?
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 do you mean by call by value and call by reference?
Can recursive program be written in C++?
Is there structure in c++?
Name the operators that cannot be overloaded in C++?
the maximum length of a character constant can be a) 2 b) 1 c) 8
show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.