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

What is volatile variable in c with example?

0 Answers  


Juxtapose the use of override with new. What is shadowing?

1 Answers  


Why malloc is faster than calloc?

0 Answers  


what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }

4 Answers  


what is void pointer?

1 Answers   Wipro,






How can I sort a linked list?

0 Answers  


What is the difference between %d and %*d in C

3 Answers  


FILE PROGRAMMING

0 Answers   Wipro,


how can i get output like this? 1 2 3 4 5 6

6 Answers   Excel,


what is real time system?what is the differance between hard and soft real time systems

2 Answers  


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

0 Answers  


can any one provide me the notes of data structure for ignou cs-62 paper

0 Answers   Ignou,


Categories