Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / ankith.v
It is not possible
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
When should the const modifier be used?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is the newline escape sequence?
How can I write a function analogous to scanf?
When is a void pointer used?
Explain the meaning of keyword 'extern' in a function declaration.
Why is sprintf unsafe?
Why isnt any of this standardized in c?
What is wrong in this statement? scanf(ā%dā,whatnumber);
List out few of the applications that make use of Multilinked Structures?
difference between native and cross compilers
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
In a byte, what is the maximum decimal number that you can accommodate?
what is the basis for selection of arrays or pointers as data structure in a program
Do you know the difference between malloc() and calloc() function?