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 / jareesh

//answer for 53
#include "stdafx.h"
void _tmain(int argc, _TCHAR* argv[])
{
if (printf("hi")){}
}

//I tested in win32 console program, worked perfect.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of a ‘’ character?

1030


What is the maximum length of an identifier?

1138


Is main an identifier in c?

1089


Difference between pass by reference and pass by value?

1100


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

997


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1205


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1047


Disadvantages of C language.

1048


What is the difference between c &c++?

1091


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1004


Write a program to reverse a given number in c?

987


What is mean by data types in c?

969


How do you initialize pointer variables?

1034


write a proram to reverse the string using switch case?

2887


What are the usage of pointer in c?

1127