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 / manju

d.any where in the program
because the execution of a program begins from the main
function.it doesn't consider the place where the main
function written.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to find out prime number using sieve case?

1882


What is difference between Structure and Unions?

901


What is wrong with this program statement?

818


Can we access array using pointer in c language?

876


What are the types of c language?

798


What is the value of h?

822


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1733


What is a scope resolution operator in c?

983


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2116


while initialization of array why we use a[][2] why not a[2][]...?

2123


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9956


Are there namespaces in c?

815


Which one would you prefer - a macro or a function?

872


Why c is known as a mother language?

861


Explain the difference between the local variable and global variable in c?

860