Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
Answer Posted / devvv
main function is a basic in c programming
language.generally main is written first.but when executing
modular programs ,to avoid prototyping, other functions
are written first.so main can be written anywhere in a
program.but atleast one of the other functions must be
declared in main.
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
What is the description for syntax errors?
What is the difference between the = symbol and == symbol?
What is context in c?
Which driver is a pure java driver
What is s or c?
How can a number be converted to a string?
to find the closest pair
What is hashing in c language?
What is unsigned int in c?
What is malloc and calloc?
What does *p++ do? What does it point to?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is the code for 3 questions and answer check in VisualBasic.Net?
Write a program for finding factorial of a number.
Do character constants represent numerical values?