52.write a “Hello World” program in “c” without using a
semicolon?
53.Give a method to count the number of ones in a 32 bit number?
54.write a program that print itself even if the source file
is deleted?
55.Given an unsigned integer, find if the number is power of 2?
Answer Posted / chandan
52.write a �Hello World� program in �c� without using a
semicolon?
#include<stdio.h>
void main()
{
if(printf("Hello world"))
{}
//if(!(printf("Hello world"))) {} it will also work.
//while(!(printf("Hello world"))) {} it will also work.
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the advantages of Macro over function?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Why is event driven programming or procedural programming, better within specific scenario?
What is modifier & how many types of modifiers available in c?
What is fflush() function?
What are the ways to a null pointer can use in c programming language?
What is the symbol indicated the c-preprocessor?
What is union and structure?
Why is c not oop?
How can I do peek and poke in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is the difference between call by value and call by reference in c?
What is the purpose of scanf() and printf() functions?
Is struct oop?
What does %c do in c?