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 |
what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }
What are the characteristics of arrays in c?
How can I remove the leading spaces from a string?
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help
Differentiate b/w Modify and Update commands giving example.
What are c identifiers?
int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);
why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }
What is the difference between getch() and getche()?
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
main() { int i; printf("%d",i^i); }
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.