Can we write a program without main() function?

Answer Posted / vaibhav

no because every c prog. can compile from main function.
but when we write a code for creating a header file, we
cant use main function.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the advantages of using Unions?

674


Is printf a keyword?

762


What is a wrapper function in c?

591


what are the 10 different models of writing an addition program in C language?

1442


What is C language ?

1531






Tell me when would you use a pointer to a function?

610


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1803


Explain the array representation of a binary tree in C.

729


How many types of arrays are there in c?

596


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1741


In a byte, what is the maximum decimal number that you can accommodate?

628


What is the difference between exit() and _exit() function in c?

584


please explain every phase in the "SDLC" in the dotnet.

2181


What’s a signal? Explain what do I use signals for?

611


What standard functions are available to manipulate strings?

565