write a “Hello World” program in “c” without using a semicolon?
Answers were Sorted based on User's Feedback
Answer / rajeev
int main()
{
if(printf("hello world"))
}
For if statement compiler does not expect semi colon.
Is This Answer Correct ? | 55 Yes | 18 No |
Answer / 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 |
Answer / mahesh
#include<stdio.h>
void main()
{
if(printf("Hello World"))
{
}
}
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / latiff
int main()
{
if(printf("hello world"))
}
In if statement compiler does not expect semicolon.
Is This Answer Correct ? | 6 Yes | 4 No |
Answer / prashant
sir, i can not give the answer of this question.
Is This Answer Correct ? | 4 Yes | 17 No |
Write a program to find whether the given number is prime or not?
How can I get the current date or time of day in a c program?
Differentiate between static and dynamic modeling.
how to get starting address of a running C program
write a program to produce the following output; ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A
17 Answers ABC, College School Exams Tests,
What does p mean in physics?
Explain what are linked list?
Why is sizeof () an operator and not a function?
struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?
What is the use of typedef in c?
difference between the array and linked list general difference related to memory
What is the sizeof () a pointer?