write a “Hello World” program in “c” without using a semicolon?
Answer Posted / rajeev
int main()
{
if(printf("hello world"))
}
For if statement compiler does not expect semi colon.
Is This Answer Correct ? | 55 Yes | 18 No |
Post New Answer View All Answers
What are the __date__ and __time__ preprocessor commands?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
How are Structure passing and returning implemented by the complier?
What is the difference between union and structure in c?
What is merge sort in c?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
What is modeling?
what are enumerations in C
What is pre-emptive data structure and explain it with example?
How can I implement a delay, or time a users response, with sub-second resolution?
What is unsigned int in c?
Why we not create function inside function.
What does the && operator do in a program code?
What is 1d array in c?