# Why do I get an NZEC?

**URL:** <https://discuss.codechef.com/t/why-do-i-get-an-nzec/1775>\
**Category:** faq\
**Tags:** faq, nzec\
**Created:** [March 20, 2013, 5:37pm UTC](https://discuss.codechef.com/t/why-do-i-get-an-nzec/1775 "2013-03-20T17:37:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![admin](https://discuss.codechef.com/user_avatar/discuss.codechef.com/admin/32/212587_2.png) [@admin](https://discuss.codechef.com/u/admin)\
**Post date:** [March 20, 2013, 5:38pm UTC](https://discuss.codechef.com/t/why-do-i-get-an-nzec/1775/2 "2013-03-20T17:38:11Z")

</div>

NZEC stands for Non Zero Exit Code. For C users, this will be generated if your main method does not have a return 0; statement. Other languages like Java/C++ could generate this error if they throw an exception.

---

_[View the full topic](https://discuss.codechef.com/t/why-do-i-get-an-nzec/1775)._
