how can i print "hello"

Answers were Sorted based on User's Feedback



how can i print "hello"..

Answer / diwakar prasad singh

#include<stdio.h>
main()
{
printf("hello");
}

Is This Answer Correct ?    7 Yes 4 No

how can i print "hello"..

Answer / ajithbalaji

Both r wrong


#include<stdio.h>
#include<conio.h>
void main()
{
printf("\"hello\"");
getch();
}

Is This Answer Correct ?    5 Yes 2 No

how can i print "hello"..

Answer / vijay kumar tiwari

#include<iostream.h>
main()
{
cout<<"hello";
}

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More C Interview Questions

Tell me can the size of an array be declared at runtime?

0 Answers  


Is double link list a linear data structure? If Yes, Why?If No, Why?

4 Answers  


What should malloc() do?

0 Answers  


What is void c?

0 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  






program to convert a integer to string in c language'

0 Answers  


what information does the header files contain?

6 Answers   BSNL, Cisco, GDA Technologies,


write a program that finds the factorial of a number using recursion?

13 Answers   Infosys, TATA,


what is a function method?give example?

0 Answers  


Explain what are compound statements?

0 Answers  


what is c programming?

3 Answers   TCS,


Tell me with an example the self-referential structure?

0 Answers  


Categories