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 a static function

10 Answers   Satyam,


which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}

4 Answers   TCS,


What is the size of structure pointer in c?

0 Answers  


i=10,j=20 j=i,j?(i,j)?i:j:j print i,j

1 Answers   CSC,


What is a struct c#?

0 Answers  


difference between loading and linking

1 Answers  


What is modifier & how many types of modifiers available in c?

0 Answers  


Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

0 Answers   Wilco,


program for reversing a selected line word by word when multiple lines are given without using strrev

0 Answers   IBM,


What are the preprocessors?

9 Answers   HP,


What is character constants?

0 Answers  


Categories