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
Write a program which returns the first non repetitive character in the string?
What is gets() function?
What are pointers really good for, anyway?
What is a constant?
What is the stack in c?
Why is c platform dependent?
What are the key features in c programming language?
Explain how can I open a file so that other programs can update it at the same time?
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
What is the heap?
What is f'n in math?
What does %2f mean in c?
Explain how can I pad a string to a known length?
Differentiate between a structure and a union.
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)