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 we declare variables in c?

561


What does the file stdio.h contain?

597


What is integer constants?

607


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

641


Is linux written in c?

594






What is void c?

560


what is bit rate & baud rate? plz give wave forms

1509


Explain the array representation of a binary tree in C.

719


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1477


Can we increase size of array in c?

534


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

682


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1615


Explain how do you override a defined macro?

577


Is c still used?

594


What is the difference between exit() and _exit() function in c?

576