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
What is malloc calloc and realloc in c?
Explain modulus operator. What are the restrictions of a modulus operator?
Apart from dennis ritchie who the other person who contributed in design of c language.
Write a program to swap two numbers without using a temporary variable?
Define Spanning-Tree Protocol (STP)
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
p*=(++q)++*--p when p=q=1 while(q<=6)
Can math operations be performed on a void pointer?
What is the use of getch ()?
Is c call by value?
How can I recover the file name given an open stream?
Why doesnt that code work?
What is structure of c program?
What is break statement?
What does %c mean in c?