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 / jareesh
//answer for 53
#include "stdafx.h"
void _tmain(int argc, _TCHAR* argv[])
{
if (printf("hi")){}
}
//I tested in win32 console program, worked perfect.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the advantages of using macro in c language?
Explain what is wrong with this program statement?
What does the characters “r” and “w” mean when writing programs that will make use of files?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
code for replace tabs with equivalent number of blanks
What is an array? What the different types of arrays in c?
What are the benefits of c language?
What is difference between structure and union?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What is %s and %d in c?
What are the key features in c programming language?
What is pointers in c with example?
With the help of using classes, write a program to add two numbers.
What is LINKED LIST? How can you access the last element in a linked list?