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

if(printf("HELLO WORLD"))

Is This Answer Correct ?    41 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a #include preprocessor?

806


What does sizeof return c?

792


what is a function method?give example?

2100


Explain what is a pragma?

781


How can I pad a string to a known length?

779


Can you subtract pointers from each other? Why would you?

735


What are the different types of objects used in c?

732


Explain the priority queues?

831


What is external variable in c?

792


Which is better between malloc and calloc?

877


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1076


How is = symbol different from == symbol in c programming?

792


What is array of pointers to string?

778


Explain two-dimensional array.

808


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

1778