how to print "hai" in c?

Answers were Sorted based on User's Feedback



how to print "hai" in c?..

Answer / shabeer v c

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

Is This Answer Correct ?    0 Yes 5 No

how to print "hai" in c?..

Answer / maskfriend

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

Is This Answer Correct ?    1 Yes 7 No

how to print "hai" in c?..

Answer / manju

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

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More C Interview Questions

what is pointer?

4 Answers  


What is unsigned int in c?

0 Answers  


how to print a statement in c without use of console statement ,with the help of if statement it should print

2 Answers   Satyam,


Why string is used in c?

0 Answers  


write a program in c language to print your bio-data on the screen by using functions.

0 Answers  






Explain how can I open a file so that other programs can update it at the same time?

0 Answers  


write a program to generate 1st n fibonacci prime number

12 Answers  


How can I avoid the abort, retry, fail messages?

0 Answers  


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


What are global variables and explain how do you declare them?

0 Answers  


What is pragma c?

0 Answers  


Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

0 Answers  


Categories