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 |
What are the advantages of external class?
Write a function in c to find the area of a triangle whose length of three sides is given.
how could explain about job profile
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
Explain About fork()?
How to convert decimal to binary in C using recursion??
a 'c' program to tell that the set of three coordinates lie on a same line
What is meant by initialization and how we initialize a variable?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?
What is a stream?