how to create c progarm without void main()?
Answer / surya bhagavan s
#include<stdio.h>
#include <unistd.h>
_start()
{
_exit(my_main());
}
int my_main(void)
{
printf("Hello\n");
return 42;
}
for compilation
gcc -o3 -nostartfiles example.c
Is This Answer Correct ? | 2 Yes | 7 No |
main() { int i; printf("%d",i^i); }
how to print "hai" in c?
Is there any data type in c with variable size?
what is the use of a array in c
Identify the operators that is not used with pointer a. && b. # c. * d. >>
while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is a class?
Can you pass an entire structure to functions?
about c language
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.
What is the memory allocated by the following definition ? int (*x)[10];