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 difference b/w Structure & Union?

3 Answers  


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

0 Answers  


What are the types of data structures in c?

0 Answers  


how to find out the union of two character arrays?

2 Answers  


please give code for this 1 2 4 7 11 16

11 Answers   Intel, Wipro,






What are qualifiers in c?

0 Answers  


When c language was developed?

0 Answers  


String concatenation

2 Answers  


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

0 Answers  


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

0 Answers  


int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?

15 Answers   Mascot,


What is non linear data structure in c?

0 Answers  


Categories