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

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1484


Write a program to swap two numbers without using third variable in c?

622


What is the difference between void main and main in c?

628


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

649


What is the -> in c?

591






Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1772


Explain what is a static function?

635


Tell us something about keyword 'auto'.

669


Explain how can I convert a string to a number?

648


Explain the array representation of a binary tree in C.

734


When can you use a pointer with a function?

575


What is abstract data structure in c?

535


Is this program statement valid? INT = 10.50;

692


What is a void pointer? When is a void pointer used?

634


What are lookup tables in c?

552