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

write a progrmm in c language take user interface generate table using for loop?

0 Answers  


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,


What is a built-in function in C?

1 Answers  


How to implement call back functions ?

3 Answers   HP,


Write a program to print fibonacci series using recursion?

0 Answers  






How do you declare a variable that will hold string values?

0 Answers  


How can I find the modification date and time of a file?

0 Answers  


Sir i need notes for structure,functions,pointers in c language can you help me please

0 Answers   TCS,


How to declare pointer variables?

0 Answers  


What is memory leak in c?

0 Answers  


#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }

4 Answers   HCL,


Is a pointer a kind of array?

0 Answers  


Categories