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 / renuka

c

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program which returns the first non repetitive character in the string?

610


What is gets() function?

675


What are pointers really good for, anyway?

623


What is a constant?

637


What is the stack in c?

728






Why is c platform dependent?

628


What are the key features in c programming language?

622


Explain how can I open a file so that other programs can update it at the same time?

599


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

673


What is the heap?

695


What is f'n in math?

625


What does %2f mean in c?

687


Explain how can I pad a string to a known length?

661


Differentiate between a structure and a union.

773


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

690