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 |
how to find out the reverse number of a digit if it is input through the keyboard?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
How can I get random integers in a certain range?
write a program wch produces its own source code aas its output?
write a program to copy a string without using a string?
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
What are the types of operators in c?
Write a program to interchange two variables without using the third variable?
17 Answers Accenture, College School Exams Tests, Infotech,
Why do we use null pointer?
Explain how do you print an address?
Is c a great language, or what?