how to print "hai" in c?

Answer Posted / shabeer v c

#include<stdio.h>
#include<conio.h>
void main()
{

printf(" \"hai");
printf(" \" ");
getch();
}

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print factorial of given number without using recursion?

573


Explain the use of 'auto' keyword

683


What is difference between Structure and Unions?

644


Differentiate fundamental data types and derived data types in C.

621


What is the difference between Printf(..) and sprint(...) ?

792






What are the advantages and disadvantages of c language?

569


What does calloc stand for?

653


What is maximum size of array in c?

588


Explain what are reserved words?

639


What is a nested loop?

653


What is structure packing in c?

614


What is the purpose of clrscr () printf () and getch ()?

605


What is the benefit of using an enum rather than a #define constant?

667


What is the scope of local variable in c?

582


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

650