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 / ramesh

#include<stdio.h>
main()
{
if(printf("Hello world"))
getch();
return;
}

Is This Answer Correct ?    2 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is malloc calloc and realloc in c?

671


Explain modulus operator. What are the restrictions of a modulus operator?

601


Apart from dennis ritchie who the other person who contributed in design of c language.

814


Write a program to swap two numbers without using a temporary variable?

612


Define Spanning-Tree Protocol (STP)

646






main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

727


p*=(++q)++*--p when p=q=1 while(q<=6)

1269


Can math operations be performed on a void pointer?

590


What is the use of getch ()?

639


Is c call by value?

608


How can I recover the file name given an open stream?

556


Why doesnt that code work?

603


What is structure of c program?

608


What is break statement?

634


What does %c mean in c?

654