write a “Hello World” program in “c” without using a semicolon?
Answer Posted / latiff
int main()
{
if(printf("hello world"))
}
In if statement compiler does not expect semicolon.
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
How can I run c program?
Why do we use main function?
Is int a keyword in c?
Write a program to find factorial of a number using recursive function.
How do I send escape sequences to control a terminal or other device?
Why #include is used in c language?
What are logical errors and how does it differ from syntax errors?
What is the sizeof () operator?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Can variables be declared anywhere in c?
What is the use of function in c?
Describe dynamic data structure in c programming language?