How to print "Hi World" without using semi colon?

Answer Posted / ankit choudhary

void main()
{
clrscr();
if(printf("\nHi World"))
getch();

}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a memory leak? How to avoid it?

557


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

721


What is #line?

600


Is it possible to execute code even after the program exits the main() function?

799


What is difference between main and void main?

613






What does typedef struct mean?

644


Explain how can I convert a number to a string?

636


How do you convert strings to numbers in C?

698


Why is it usually a bad idea to use gets()? Suggest a workaround.

886


What is the difference between array and pointer in c?

566


What is static and volatile in c?

770


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1404


What is a constant and types of constants in c?

592


Write a program to show the change in position of a cursor using c

568


How can I change the size of the dynamically allocated array?

618