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
How do you search data in a data file using random access method?
What is string constants?
write an algorithm to display a square matrix.
What is structure in c explain with example?
How to throw some light on the b tree?
Do you have any idea about the use of "auto" keyword?
Is c a great language, or what?
Write a program to find factorial of a number using recursive function.
find out largest elemant of diagonalmatrix
What’s the special use of UNIONS?
When should we use pointers in a c program?
What are 3 types of structures?
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?
What is a lookup table in c?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code