Answer Posted / nara venkata satyanarayana
First we should know whether main() belongs to C/C++ or
java. If it is in C/C++ it is "user-defined" because not
available in any header file and body defined by user, but
compiler will starts body execution from main() function
only. But in java without main() also we can execute
programs and get output eg:-using static blocks.
Here also it is "user-defined" one.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is c method?
What language is lisp written in?
Is c procedural or functional?
What is use of #include in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is struct node in c?
What do you mean by keywords in c?
i got 75% in all semester am i eligible for your company
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
What is strcpy() function?
Write a program to generate the Fibinocci Series
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What are global variables and how do you declare them?
What is meant by gets in c?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.