In C program, at end of the program we will give as "return 0"
and "return 1", what they indicate? Is it mandatory to specify
them?
Answers were Sorted based on User's Feedback
Answer / ranjeet roy
if the return type of our function is int ..
thn it is maindetory to return something like 0 nd 1..
but if we declare the return type void
then doesnt require
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / sivavendra
Yes, it is mandatory to return some value if return type of main() is specified as "int"
| Is This Answer Correct ? | 0 Yes | 0 No |
what is an inline function?
How can I remove the trailing spaces from a string?
what is ur strangth & weekness
0 Answers Cognizant, LG Soft, NetEnrich,
What does. int *x[](); means ?
write a program for the normal snake games find in most of the mobiles.
What is a file descriptor in c?
how many keywords are available in 'c' language a) 32 b) 34 c) 45 d) 48
What are valid signatures for the Main function?
What is "Hungarian Notation"?
int *a[5] refers to
Is c weakly typed?
What are the types of type qualifiers in c?