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

what is the output of below int n=10; (n++)++; printf("%d",n);

3 Answers  


why division operator not work in case of float constant?

2 Answers  


What is the use of extern in c?

0 Answers  


Which is better oop or procedural?

0 Answers  


What is use of pointer?

0 Answers  






how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

0 Answers  


C program to find all possible outcomes of a dice?

0 Answers  


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

0 Answers  


Write a program to give following output..... ********* **** **** *** *** ** ** * * ** ** *** *** **** **** *********

4 Answers  


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

1 Answers   TCS,


Without using main fn and semicolon,print remainder for a given number in C language

2 Answers  


Explain what happens if you free a pointer twice?

0 Answers  


Categories