how can we print  hellow world programme without using semicolon

Answers were Sorted based on User's Feedback



how can we print  hellow world programme without using semicolon..

Answer / sreevalli

if (printf("hello world"))

Is This Answer Correct ?    8 Yes 1 No

how can we print  hellow world programme without using semicolon..

Answer / akbar

#include<stdio.h>
int main()
{
printf("Hello World
");
return 0;
}

Is This Answer Correct ?    0 Yes 0 No

how can we print  hellow world programme without using semicolon..

Answer / rohit kakade

#include<stdio.h>
#include<conio.h>
void main(void)
{
     while(printf("HellO")==0)
getch();
}

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More C Interview Questions

program for reversing a selected line word by word when multiple lines are given without using strrev

1 Answers   IBM,


What is the data segment that is followed by c?

1 Answers  


for(;;) printf("C language") What is out put of above??

2 Answers   Practical Viva Questions,


How do you define structure?

1 Answers  


Write a program in c using only loops to print * * * * * *******

2 Answers   IBM,


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


Why is structure important for a child?

1 Answers  


What is the purpose of sprintf() function?

1 Answers  


how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.

3 Answers  


#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }

3 Answers  


Can we assign string to char pointer?

1 Answers  


what is the little endian and big endian?

1 Answers  


Categories