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 / yash
hi yash
#include<stdio.h>
int main()
{
while(printf("hello")){}
}
| Is This Answer Correct ? | 33 Yes | 53 No |
Post New Answer View All Answers
Explain what is the benefit of using an enum rather than a #define constant?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What does int main () mean?
Explain 'far' and 'near' pointers in c.
Explain what are run-time errors?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Explain the use of #pragma exit?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is structure in c language?
How do you initialize pointer variables?
List the variables are used for writing doubly linked list program.
Explain enumerated types in c language?