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

#include<stdio.h>
void main(){
if(printf("Hello World"))
{

}
}

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain a file operation in C with an example.

665


What is volatile variable in c?

660


What are the 32 keywords in c?

639


Which header file is used for clrscr?

586


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

671






What are the key features in c programming language?

622


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1863


What is #line used for?

584


Explain indirection?

650


If errno contains a nonzero number, is there an error?

809


How the c program is executed?

636


What is c value paradox explain?

578


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1770


Why c language is called c?

573


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3192