2)#include<iostream.h>
main()
{
printf("Hello World");
}
the program prints Hello World without changing main() the
o/p should
be
intialisation
Hello World
Desruct
the changes should be
a)iostream operator<<(iostream os, char*s)
os<<'intialisation'<<(Hello World)<<Destruct
b) c) d)none of the above
Answer Posted / beedha
b
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Why is extern used in c?
If null and 0 are equivalent as null pointer constants, which should I use?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What are the types of pointers in c?
how to construct a simulator keeping the logical boolean gates in c
List some of the static data structures in C?
How can I get random integers in a certain range?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What are local static variables? How can you use them?
What is size of union in c?
Is int a keyword in c?
Is register a keyword in c?
When should a type cast be used?