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 / devarathnam .c, s.v.university
Hi Sujatha,
Program for your question no.52.
#include<stdio.h>
main()
{
if(Printf("Hello World!!!"))
}
Here I didn't use semicolon, I hope I met your criteria.
| Is This Answer Correct ? | 267 Yes | 137 No |
Post New Answer View All Answers
Do string constants represent numerical values?
Why c is called procedure oriented language?
Is it cc or c in a letter?
Differentiate between a structure and a union.
What is FIFO?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What are the restrictions of a modulus operator?
What is ctrl c called?
Explain how do you determine a file’s attributes?
What is the difference between a free-standing and a hosted environment?
What are the advantages of using Unions?
What type is sizeof?
When should a type cast be used?
What are the types of unary operators?