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

Answers were Sorted based on User's Feedback



2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hel..

Answer / anitha

d

Is This Answer Correct ?    12 Yes 5 No

2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hel..

Answer / sheeba

a

Is This Answer Correct ?    2 Yes 3 No

2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hel..

Answer / renuka

c

Is This Answer Correct ?    1 Yes 3 No

2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hel..

Answer / beedha

b

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Interview Questions

How many keywords (reserve words) are in c?

0 Answers  


write a “Hello World” program in “c” without using a semicolon?

9 Answers   CTS, TCS, Wipro,


How can we see the Expanded source code and compiled code for our source program in C?

1 Answers  


How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran

0 Answers  


What are Macros? What are its advantages and disadvantages?

0 Answers   TCS,






program to print circle structure

1 Answers  


State the difference between realloc and free.

0 Answers   Aricent,


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


What is #include in c?

0 Answers  


What should not contain a header file?

2 Answers  


What are pointers in C?

5 Answers   KPIT,


HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER

4 Answers  


Categories