wap to print "hello world" without using the main function.
Answer Posted / niranjan vg
This is the other way you can use it.....
#include<stdio.h>
int hello();
_start()
{
_exit(hello());
}
int hello()
{
printf("\n \t\t\t\t\tHello World\n");
printf("\n \t \t \t Welome to C in Linux\n");
}
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
How can I find the modification date of a file?
List some of the dynamic data structures in C?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
What is the most efficient way to store flag values?
What is the purpose of main( ) in c language?
code for replace tabs with equivalent number of blanks
What does the format %10.2 mean when included in a printf statement?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
How to find a missed value, if you want to store 100 values in a 99 sized array?
write a program in c language to print your bio-data on the screen by using functions.
how to find anagram without using string functions using only loops in c programming
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
Explain high-order and low-order bytes.
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA