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
Explain a file operation in C with an example.
What is volatile variable in c?
What are the 32 keywords in c?
Which header file is used for clrscr?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What are the key features in c programming language?
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(); }
What is #line used for?
Explain indirection?
If errno contains a nonzero number, is there an error?
How the c program is executed?
What is c value paradox explain?
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.
Why c language is called c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?