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
How do we declare variables in c?
What are the similarities between c and c++?
What the different types of arrays in c?
Why do we use c for the speed of light?
What is data structure in c and its types?
what will be maximum number of comparisons when number of elements are given?
What is local and global variable in c?
What is the correct code to have following output in c using nested for loop?
What is dynamic dispatch in c++?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What kind of structure is a house?
Why C language is a procedural language?
Do pointers store the address of value or the actual value of a variable?
What are all different types of pointers in c?