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 meaning of "Void main" in C Language.
24 Answers Ford, GU, HCL, IBIBS, JUW, TCS,
How would you find a cycle in a linked list?
Define Spanning-Tree Protocol (STP)
When was c language developed?
1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..
Can true be a variable name in c?
What is the Difference between Macro and ordinary definition?
3 Answers Bosch, Cognizant, College School Exams Tests, Motorola,
What are pointers? Why are they used?
how the size of an integer is decided? - is it based on processor or compiler or OS?
19 Answers HCL, JPR, Microsoft, nvidia,
main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}
#define d 10+10 main() { printf("%d",d*d); }
Difference between C and Embedded C?