You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cs1003-s...@googlegroups.com
Assalaam-o-Alikum,
Respected Sir & Madam,
Can i use exit(1) instead of return -1?.Please explain about exit(digit) and return digit.
Regards,
Muhammad Usman Farooq,
Sami Ullah Kashif
unread,
May 12, 2013, 6:24:00 AM5/12/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cs1003-s...@googlegroups.com
Yes in general the syntax of exit function is: exit(int n)
You can use any integer inside the exit function. Once again the difference is something that you don't need to worry about. You can use any integer inside the exit function.