How can I make a program in c to print 'Hello' without
using semicolon in the code?
Answer Posted / prashanth
main()
{
if(printf("hello"))
}
| Is This Answer Correct ? | 54 Yes | 9 No |
Post New Answer View All Answers
How to declare a variable?
What is a newline escape sequence?
Difference between linking and loading?
What is the use of ?: Operator?
Explain what is the benefit of using enum to declare a constant?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What is the difference between if else and switchstatement
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
What are the advantages of using Unions?
how we can make 3d venturing graphics on outer interface
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is the difference between procedural and declarative language?
Why isnt there a numbered, multi-level break statement to break out