hai can we write a C program without using main()..if yes what is the other way of doing this

Yes, someone else asked this less than a month ago.
Perhaps you both go to the same college and get the same pointless assignments from the same tutor.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.