write a “Hello World” program in “c” without using a semicolon?

Answer Posted / prakash.k.r

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

printf() fn is available in the stdio header file, and so it
must be loaded. Using int main without return stmt is not
good. If any other solution, plz add your answer.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are strings stored in c?

809


What is getch?

863


What is main return c?

765


What is difference between main and void main?

889


What is the meaning of && in c?

785


What is file in c language?

808


Which header file is used for clrscr?

816


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

886


Why array is used in c?

815


What is array within structure?

876


Explain what is the advantage of a random access file?

921


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

5842


Why doesn't C support function overloading?

2230


Write a C program to count the number of email on text

1705


can we change the default calling convention in c if yes than how.........?

2312