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
What is file in c preprocessor?
What kind of structure is a house?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
about c language
List some of the static data structures in C?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What are types of structure?
What is wrong with this program statement? void = 10;
Explain how do you determine the length of a string value that was stored in a variable?
How can I delete a file?
What is the use of #include in c?
Explain the use of keyword 'register' with respect to variables.
What do you mean by c what are the main characteristics of c language?
What is the use of clrscr?
What would be an example of a structure analogous to structure c?