how to print "hai" in c?

Answer Posted / harish[nttf]

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

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe wild pointers in c?

644


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1594


What is the use of structure padding in c?

567


What is the use of gets and puts?

607


How can you be sure that a program follows the ANSI C standard?

1133






how many errors in c explain deply

1633


How can you convert integers to binary or hexadecimal?

622


What is the purpose of & in scanf?

602


What is function pointer c?

586


What is meant by gets in c?

611


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

649


Explain how can you restore a redirected standard stream?

594


What are the scope of static variables?

604


c program to compute AREA under integral

1816


Can a variable be both constant and volatile?

564