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

Explain c preprocessor?

0 Answers  


What are header files and explain what are its uses in c programming?

0 Answers  


#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(ā€œ%cā€, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.

1 Answers   BladeLogic, Infosys,


What does %2f mean in c?

0 Answers  






what is a NULL Pointer? Whether it is same as an uninitialized pointer?

0 Answers   TISL,


Where are some collections of useful code fragments and examples?

0 Answers   Celstream,


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

0 Answers  


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

0 Answers  


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

0 Answers  


1 1 12 21 123 321 12344231 how i creat it with for loop??

1 Answers  


What is the difference between array and linked list in c?

0 Answers  


Categories