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
Why does notstrcat(string, "!");Work?
What is function in c with example?
Why do we need a structure?
List the different types of c tokens?
What are the salient features of c languages?
What is the difference between array_name and &array_name?
Which are low level languages?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What kind of structure is a house?
How many keywords are there in c?
What is the use of volatile?
What is a program flowchart and how does it help in writing a program?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is the use of sizeof () in c?
What is the difference between functions abs() and fabs()?