Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 &#65533;Hello World&#65533; program in &#65533;c&#65533; 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


Please Help Members By Posting Answers For Below Questions

What are the advantages of Macro over function?

1927


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1923


Why is event driven programming or procedural programming, better within specific scenario?

2365


What is modifier & how many types of modifiers available in c?

982


What is fflush() function?

1079


What are the ways to a null pointer can use in c programming language?

1076


What is the symbol indicated the c-preprocessor?

1166


What is union and structure?

1039


Why is c not oop?

928


How can I do peek and poke in c?

1037


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1913


What is the difference between call by value and call by reference in c?

1115


What is the purpose of scanf() and printf() functions?

1173


Is struct oop?

959


What does %c do in c?

939