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 / v.srinivasan

write a �Hello World� program in �c� without using a
semicolon?

#include<stdio.h>
main()
{
if(printf("Hello World \n"))
{
}
}

This will work perfectly.

Is This Answer Correct ?    315 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to have a function as a parameter in another function?

821


Where static variables are stored in c?

776


What is the difference between strcpy() and memcpy() function in c programming?

839


What is #line used for?

770


can we have joblib in a proc ?

1918


what is the function of pragma directive in c?

869


Add Two Numbers Without Using the Addition Operator

546


What is the difference between malloc() and calloc() function in c language?

806


what are the different storage classes in c?

851


What is indirection?

831


What do you mean by c what are the main characteristics of c language?

779


What is the explanation for cyclic nature of data types in c?

857


How can you increase the size of a statically allocated array?

831


What is the time and space complexities of merge sort and when is it preferred over quick sort?

866


Can a pointer be static?

807