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 |
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
Explain what math functions are available for integers? For floating point?
write a program to generate 1st n fibonacci prime number
What is difference between far and near pointers?
Why static variable is used in c?
Explain how can I read and write comma-delimited text?
How do shell structures work?
What are the types of assignment statements?
hat is a pointer?
What are the advantages of using macro in c language?
Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(ā%cā, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.
1 Answers BladeLogic, Infosys,
What is page thrashing?