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 the explanation for modular programming?
What is the purpose of the statement: strcat (S2, S1)?
What does s c mean on snapchat?
What is the value of uninitialized variable in c?
What does printf does?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is putchar() function?
code for replace tabs with equivalent number of blanks
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
Can a function argument have default value?
Differentiate Source Codes from Object Codes
What is chain pointer in c?
Differentiate between ordinary variable and pointer in c.
Is stack a keyword in c?
provide an example of the Group by clause, when would you use this clause