Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / bhumit

main()
{
clrscr();
if(printf("HI World"))
getch();
}

Is This Answer Correct ?    20 Yes 6 No

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

Answer / ayyanar.m

main()
{
clrscr();
if(printf("HI World"))
getch();
}

Is This Answer Correct ?    1 Yes 1 No

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

Answer / manoj singh

#include<stdio.h>
void main()
{
clrscr();
if(printf("\"Hi world\""))
while(!kbhit());
}




// sorry for previous answer

Is This Answer Correct ?    2 Yes 3 No

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

Answer / ankit choudhary

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

}

Is This Answer Correct ?    0 Yes 1 No

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

Answer / saravana kumar

#include<stdio.h>
void main()
{
if(printf("Hi World"))
}

Is This Answer Correct ?    0 Yes 1 No

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

Answer / manoj singh

void main()
{
clrscr();
if(printf(""HI World""))
getch();
}

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More C Interview Questions

1. What is the output of printf("%d") 2. What will happen if I say delete this 3. Difference between "C structure" and "C++ structure". 4. Diffrence between a "assignment operator" and a "copy constructor" 5. What is the difference between "overloading" and "overridding"? 6. Explain the need for "Virtual Destructor". 7. Can we have "Virtual Constructors"? 8. What are the different types of polymorphism? 9. What are Virtual Functions? How to implement virtual functions in "C" 10. What are the different types of Storage classes? 11. What is Namespace? 12. What are the types of STL containers?. 13. Difference between "vector" and "array"? 14. How to write a program such that it will delete itself after exectution? 15. Can we generate a C++ source code from the binary file? 16. What are inline functions? 17. Talk sometiming about profiling? 18. How many lines of code you have written for a single program? 19. What is "strstream" ? 20. How to write Multithreaded applications using C++? 21. Explain "passing by value", "passing by pointer" and "passing by reference" 22. Write any small program that will compile in "C" but not in "C++" 23. Have you heard of "mutable" keyword? 24. What is a "RTTI"? 25. Is there something that I can do in C and not in C++? 26. Why preincrement operator is faster than postincrement? 27. What is the difference between "calloc" and "malloc"? 28. What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"? 29. What is Memory Alignment? 30. Explain working of printf. 31. Difference between "printf" and "sprintf". 32. What is "map" in STL? 33. When shall I use Multiple Inheritance? 34. What are the techniques you use for debugging? 35. How to reduce a final size of executable? 36. Give 2 examples of a code optimization.

2 Answers  


# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }

5 Answers  


what is uses of .net

0 Answers  


What is FIFO?

3 Answers  


What is derived datatype in c?

0 Answers  


void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y); }

5 Answers  


what is c?

13 Answers   Tech Mahindra,


What is #line?

0 Answers  


What is an anonymous union and where to apply that ?

3 Answers   HP,


What are c identifiers?

0 Answers  


C program to find all possible outcomes of a dice?

0 Answers  


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

1 Answers  


Categories