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?

Answers were Sorted based on User's Feedback



52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to cou..

Answer / ramesh

#include<stdio.h>
main()
{
if(printf("Hello world"))
getch();
return;
}

Is This Answer Correct ?    2 Yes 18 No

52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to cou..

Answer / yash

hi yash
#include<stdio.h>
int main()
{
while(printf("hello")){}
}

Is This Answer Correct ?    33 Yes 53 No

52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to cou..

Answer / cpd

53.another possible answer
count=0;
num; //32 bit integer
hex =0x01;
for(i=0;i<32;hex<<1,i++)
if(hex&num)
count++;

Is This Answer Correct ?    7 Yes 53 No

52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to cou..

Answer / murali krishna

52.#include<stdio.h>
int main()
{
for(printf("hello world");;)
{
}
return(0);
}

Is This Answer Correct ?    11 Yes 61 No

52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to cou..

Answer / sanjay

write a �Hello World� program in �c� without using a
semicolon?

#include<stdio.h>
int main()
{
while(!(printf("%s \n","hello world!!!")));
{
}
return(0);
}

Is This Answer Correct ?    22 Yes 92 No

Post New Answer

More C Interview Questions

HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER

4 Answers  


How main function is called in c?

0 Answers  


what is the hexidecimal number of 4100?

16 Answers   Google,


What is the scope of static variables?

1 Answers  


Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?

2 Answers  


Can we increase size of array in c?

0 Answers  


What is nested structure with example?

0 Answers  


Tell us the use of fflush() function in c language?

0 Answers  


Explain how can a program be made to print the name of a source file where an error occurs?

0 Answers  


what is the use of fflush() function?

2 Answers  


What are the types of unary operators?

0 Answers  


main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }

1 Answers   CodeChef,


Categories