I have a confusion : Is there any specific advantage of using int main() over void main() in c++ programs. Can anybody solve it ?
dolphin.rise 0 Newbie Poster
Recommended Answers
Jump to PostI have a confusion : Is there any specific advantage of using int main() over void main() in c++ programs. Can anybody solve it ?
Well,I think main() is probarbly Generalised and the computer basically will not expect a specific type from the program.
Where as int main () …
All 4 Replies
Sky Diploma 571 Practically a Posting Shark
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Narue 5,707 Bad Cop Team Colleague
mitrmkar 1,056 Posting Virtuoso
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.