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 |
How do you define CONSTANT in C?
What language is c written?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is indirection in c?
why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?
i need all types of question paper releted to "c" and other language.
How can I automatically locate a programs configuration files in the same directory as the executable?
what is the little endian and big endian?
main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}
what is the difference between static variable and register variable?
Explain that why C is procedural?
write a program in 'c' to find the value of p[i+1]^n.p,i,n are arguments of a macro and n is a integer