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 does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
What is the size of structure in c?
how to create duplicate link list using C???
how write a addtion of two single dimensional array using of pointer in c language?
Write programs for String Reversal & Palindrome check
can you change name of main()?how?
Why is a semicolon (;) put at the end of every program statement?
Lists the benefits of c programming language?
What is unsigned int in c?
What are header files and explain what are its uses in c programming?
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; }
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