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

How do you list files in a directory?

560


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2238


What are the different properties of variable number of arguments?

659


Can you please explain the scope of static variables?

597


Explain the use of #pragma exit?

695






What language is windows 1.0 written?

572


What is difference between function overloading and operator overloading?

651


Explain what is the general form of a c program?

621


What is wrong in this statement? scanf(“%d”,whatnumber);

722


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

612


What the different types of arrays in c?

610


Was 2000 a leap year?

626


How can I sort more data than will fit in memory?

624


Describe the header file and its usage in c programming?

616


What is an auto keyword in c?

640