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

Can a program have two main functions?

565


What is #pragma statements?

583


Why do we use namespace feature?

577


Write a factorial program using C.

637


How we can insert comments in a c program?

626






which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1125


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

1623


Does c have enums?

596


How can I change the size of the dynamically allocated array?

625


What is pointer to pointer in c?

630


Can we assign integer value to char in c?

611


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1455


diff between exptected result and requirement?

1592


What is d scanf?

584


What is difference between stdio h and conio h?

878