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 / hussain reddy
/* mypro.c*/
#include<stdio.h>
void main()
{
remove("mypro.c");
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a method in c?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is memory leak in c?
Write a simple code fragment that will check if a number is positive or negative.
What is pragma c?
Explain built-in function?
Combinations of fibanocci prime series
How to draw the flowchart for structure programs?
What does 3 mean in texting?
With the help of using classes, write a program to add two numbers.
What is volatile keyword in c?
What is the difference between union and anonymous union?
Can an array be an Ivalue?
What is use of null pointer in c?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }