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 / neeraj
switch(printf("Hello World"..!!!))
{
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What's a good way to check for "close enough" floating-point equality?
can we implement multi-threads in c.
How can I recover the file name given an open stream or file descriptor?
Can we assign integer value to char in c?
What are the similarities between c and c++?
How to draw the flowchart for structure programs?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What does %d do in c?
swap 2 numbers without using third variable?
How do c compilers work?
Where are some collections of useful code fragments and examples?
Write a program to swap two numbers without using the third variable?
Differentiate between static and dynamic modeling.
What is the benefit of using const for declaring constants?