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 / sankar kiran
#include<stdio.h>
#include<conio.h>
void main()
{
while(printf("Hello World"))
{
break;
}
getch();
}
| Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
What are the advantages of union?
What is the best way of making my program efficient?
How can I do serial ("comm") port I/O?
Explain how do you convert strings to numbers in c?
What is the purpose of type declarations?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is the difference between single charater constant and string constant?
What is the argument of a function in c?
What is null in c?
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
How to set file pointer to beginning c?
Explain how can I convert a string to a number?
What is else if ladder?
Explain what is the difference between functions getch() and getche()?