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 / swastisundar bose

52.
#include<stdio.h>
void main(){
if("Hello World")
{

}
}

Is This Answer Correct ?    17 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

By using C language input a date into it and if it is right?

587


What is a union?

619


Do you know what are the properties of union in c?

591


Write a program to reverse a linked list in c.

655


Calculate 1*2*3*____*n using recursive function??

1532






What is ## preprocessor operator in c?

624


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1441


How can a string be converted to a number?

527


Create a simple code fragment that will swap the values of two variables num1 and num2.

832


What is const and volatile in c?

576


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3700


What is a nested formula?

616


Can two or more operators such as and be combined in a single line of program code?

818


What is the size of empty structure in c?

603


What is variables in c?

615