how to print "hai" in c?

Answers were Sorted based on User's Feedback



how to print "hai" in c?..

Answer / venkatachalam

printf("\"hai\"");

Is This Answer Correct ?    21 Yes 0 No

how to print "hai" in c?..

Answer / subha raman

main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
}

Is This Answer Correct ?    12 Yes 0 No

how to print "hai" in c?..

Answer / harisharumalla

printf("\"hai"\");

Is This Answer Correct ?    5 Yes 4 No

how to print "hai" in c?..

Answer / anil kumar nahak

void main()
{
printf("\"hai\"");
}

Is This Answer Correct ?    0 Yes 0 No

how to print "hai" in c?..

Answer / vidhya lakshmi d

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

Is This Answer Correct ?    0 Yes 0 No

how to print "hai" in c?..

Answer / guest

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

Is This Answer Correct ?    5 Yes 6 No

how to print "hai" in c?..

Answer / shabeer v c

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

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

Is This Answer Correct ?    1 Yes 2 No

how to print "hai" in c?..

Answer / sanjay

printf("\hai"");

Is This Answer Correct ?    0 Yes 2 No

how to print "hai" in c?..

Answer / aruna.r

#include<stdio.h>
#include<conio.h>
void main()
{
char a[4];
int i;
clrscr();
printf("enter the charactor");
for(i=0;i<4;i++)
{
scanf("%c",&a[i]);
}
getch();
}

Is This Answer Correct ?    0 Yes 2 No

how to print "hai" in c?..

Answer / harish[nttf]

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

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More C Interview Questions

how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

0 Answers  


What is the size of structure in c?

0 Answers  


how to create duplicate link list using C???

0 Answers  


how write a addtion of two single dimensional array using of pointer in c language?

3 Answers   DRDO,


Write programs for String Reversal & Palindrome check

0 Answers   TISL,






can you change name of main()?how?

3 Answers   HCL, Siemens,


Why is a semicolon (;) put at the end of every program statement?

0 Answers  


Lists the benefits of c programming language?

0 Answers  


What is unsigned int in c?

0 Answers  


What are header files and explain what are its uses in c programming?

0 Answers  


what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 Answers   Google,


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

0 Answers  


Categories