with out using main how to execute the program?
Answers were Sorted based on User's Feedback
Answer / pradeep
It is not a c program if it is not using main function.
Compiler starts execution from main function always.
Is This Answer Correct ? | 18 Yes | 4 No |
Answer / sagar
In any C program, it must contain main function..........
So, it is not possible to run any program without main
function .......
Is This Answer Correct ? | 5 Yes | 5 No |
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif
if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE
wt is d full form of c
compute the nth mumber in the fibonacci sequence?
10 Answers Canon, HPL, Satyam, TCS,
say the following declaration is correct nr not. int b=a,n=0;
Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .
Explain the advantages and disadvantages of macros.
What is the output of printf("%d", printf("Hello"));?
create an SINGLE LINKED LISTS and reverse the data in the lists completely
What is meaning of "Void main" in C Language.
24 Answers Ford, GU, HCL, IBIBS, JUW, TCS,
What is masking?