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

#include<stdio.h>
#include<conio.h>
void main()
{
while(!printf("Hell, this is aptech"))
{
}
}
/*after compilation and execution,press alt+f5 to see the
result */

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you search data in a data file using random access method?

831


What is string constants?

657


write an algorithm to display a square matrix.

2221


What is structure in c explain with example?

632


How to throw some light on the b tree?

601






Do you have any idea about the use of "auto" keyword?

662


Is c a great language, or what?

600


Write a program to find factorial of a number using recursive function.

644


find out largest elemant of diagonalmatrix

1647


What’s the special use of UNIONS?

655


When should we use pointers in a c program?

626


What are 3 types of structures?

592


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1509


What is a lookup table in c?

622


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1701