Answer Posted / samarth
yes, we can write C programs , without main() functions.
though they are not the kind of programs we use in everyday
life .For example linux kernel source code do not have any
main() function.
for details u can visit :
http://samarthonweb.blogspot.com/2009/08/c-programe-with-no-main-function.html
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Can you mix old-style and new-style function syntax?
all c language question
What is #ifdef ? What is its application?
What is difference between structure and union in c programming?
Which is more efficient, a switch statement or an if else chain?
In C language what is a 'dangling pointer'?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Explain the ternary tree?
Can we use visual studio for c?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
what is the format specifier for printing a pointer value?
Is void a keyword in c?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)