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 |
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
Tell us bitwise shift operators?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
write a program to print data of 5 five students with structures?
what are enumerations in C
how to add two numbers without using arithmetic operators?
Convert the following expression to postfix and prefix (A+B) * (D-C)
what is pointer?
What Is The Difference Between Null And Void Pointer?
How will you find a duplicate number in a array without negating the nos ?
Explain what is the benefit of using enum to declare a constant?
What are structures and unions? State differencves between them.