How can you print HELLO WORLD without using "semicolon"?
Answers were Sorted based on User's Feedback
Answer / gganesh
#include<stdio.h>
void main()
{
if(printf("Hello world"))
{
}
}
| Is This Answer Correct ? | 30 Yes | 8 No |
Answer / vinita khandavi
#include(stdio.h)
// Develped by vinita
void main()
{
if(printf("Hello world"))
{
}
}
| Is This Answer Correct ? | 32 Yes | 17 No |
Answer / anuj shukla
#include<stdio.h>
void main()
{
if(printf("helloworld"))
{
}
}
| Is This Answer Correct ? | 17 Yes | 6 No |
Answer / prakash
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf(hello world))
{
getch();
}
}
| Is This Answer Correct ? | 12 Yes | 9 No |
Answer / m.manivel
#include<stdio.h>
int main()
{
switch(printf("hello world!))
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / spicy
#include<stdio.h>
void main()
{
if(printf("HELLO WORLD"))
getch();
}
| Is This Answer Correct ? | 3 Yes | 6 No |
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 |
Write a function in c to find the area of a triangle whose length of three sides is given.
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?
Where are some collections of useful code fragments and examples?
What is void main () in c?
What does static variable mean in c?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }
What is scope of variable in c?
which of 'arrays' or 'pointers' are faster?
please give me some tips for the placement in the TCS.