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

My teacher ask to make a program that can: Insert record in front Insert record at the end Insert in between Search node record Delete record in front Delete record at the end Delete record in between Using Data structure Linked List type. But I'm really confused about the codes and I can't go through. Please help Thanks in advance. Also here is my unfinished code if someone can make changes it will be more good.

1 Answers  


Explain in detail how strset (string handling function works )pls explain it with an example.

1 Answers  


what is the size of an integer variable?

4 Answers  


main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }

2 Answers   Vector, Vector India,


What are the types of c language?

0 Answers  


what is a non volatile key word in c language?

1 Answers  


without using arithmatic operator convert an intger variable x into x+1

3 Answers  


What is the difference between calloc() and realloc()?

1 Answers  


Q. where is the below variables stored ? - volatile, static, register

3 Answers   Bosch,


how to find the size of the data type like int,float without using the sizeof operator?

13 Answers  


#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 Answers   CDAC, GATE, NDS, TCS,


What does == mean in texting?

0 Answers  


Categories