How can you print HELLO WORLD without using "semicolon"?

Answers were Sorted based on User's Feedback



How can you print HELLO WORLD without using "semicolon"?..

Answer / gganesh

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

Is This Answer Correct ?    30 Yes 8 No

How can you print HELLO WORLD without using "semicolon"?..

Answer / vinita khandavi

#include(stdio.h)
// Develped by vinita
void main()
{
if(printf("Hello world"))
{
}
}

Is This Answer Correct ?    32 Yes 17 No

How can you print HELLO WORLD without using "semicolon"?..

Answer / anuj shukla

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

Is This Answer Correct ?    17 Yes 6 No

How can you print HELLO WORLD without using "semicolon"?..

Answer / prakash

#include<stdio.h>
#include<conio.h>
void main()
{
if(printf(hello world))
{
getch();
}
}

Is This Answer Correct ?    12 Yes 9 No

How can you print HELLO WORLD without using "semicolon"?..

Answer / m.manivel

#include<stdio.h>
int main()
{
switch(printf("hello world!))
return 0;
}

Is This Answer Correct ?    0 Yes 0 No

How can you print HELLO WORLD without using "semicolon"?..

Answer / spicy

#include<stdio.h>
void main()
{
if(printf("HELLO WORLD"))
getch();
}

Is This Answer Correct ?    3 Yes 6 No

How can you print HELLO WORLD without using "semicolon"?..

Answer / sivasankari

#include <stdio.h>

#define WEE puts( "Hello World!" );

int main( int argc, char * argv[] ) {
WEE

}

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

What is a class?

3 Answers  


WHAT IS C?

6 Answers  


how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 Answers   TCS,


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers   Vector India,


What is sizeof in c?

0 Answers  






write a program wch produces its own source code aas its output?

1 Answers   IonIdea,


What's the difference between calloc() and malloc()?

4 Answers  


how to find binary of number?

2 Answers  


tell me the full form of c?

2 Answers  


What is the difference between call by value and call by reference in c?

0 Answers  


What is c method?

0 Answers  


What is the code in while loop that returns the output of given code?

0 Answers  


Categories