how to print "hai" in c?
Answers were Sorted based on User's Feedback
Answer / subha raman
main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
}
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / vidhya lakshmi d
#include<stdio.h>
void main()
{
printf("\"hai\"");
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shabeer v c
#include<stdio.h>
#include<conio.h>
void main()
{
printf(" \"hai");
printf(" \" ");
getch();
}
| Is This Answer Correct ? | 1 Yes | 2 No |
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 |
#include<stdio.h>
void main()
{
printf("\"HAI""\"");
getch();
}
| Is This Answer Correct ? | 1 Yes | 4 No |
Explain what is operator promotion?
What is meant by type specifiers?
Why we use conio h in c?
What is the difference between int main and void main?
Explain what does the format %10.2 mean when included in a printf statement?
IS Doon college of Engn.. has good faculty
What is an endless loop?
What are the properties of union in c?
What is bin sh c?
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
How reliable are floating-point comparisons?
What does %f mean c?