Can we write a program without main() function?

Answer Posted / vignesh1988i

as for i know in C , we cant write a program wit out main()..
since whatever function we write (user defining functions).
it will start executing the statements only from the
main().... so only we will say tht FIRST EXECUTABLE FUNCTION
IS THE MAIN() FUNCTION.........

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is f'n in math?

614


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3975


how can use subset in c program and give more example

1492


Why do we use namespace feature?

577


What is the scope of global variable in c?

551






What are the two forms of #include directive?

640


If the size of int data type is two bytes, what is the range of signed int data type?

581


Is it better to use a macro or a function?

649


Write a simple code fragment that will check if a number is positive or negative.

704


What's the total generic pointer type?

608


Write a program on swapping (100, 50)

634


What is an array? What the different types of arrays in c?

652


Why is c so popular?

644


What are different storage class specifiers in c?

611


What is a substring in c?

583