how to print "hai" in c?

Answer Posted / anil kumar nahak

void main()
{
printf("\"hai\"");
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ambagious result in C? explain with an example.

2061


Explain what are header files and explain what are its uses in c programming?

634


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

786


Ow can I insert or delete a line (or record) in the middle of a file?

579


Explain bit masking in c?

642






Can you please explain the scope of static variables?

608


What is c programing language?

622


Can you please explain the difference between strcpy() and memcpy() function?

608


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1082


Explain 'bit masking'?

661


What is the benefit of using #define to declare a constant?

611


Why main function is special give two reasons?

957


When can a far pointer be used?

595


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1074


can we implement multi-threads in c.

674