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 |
can we access one file to one directory?
Find the highest of three numbers and print them using ascending orders?
What is oops c?
What is static and volatile in c?
What are the applications of c language?
which one is better structure or union?(other than the space occupied )
What is c programming structure?
Why & is used in c?
Is null always equal to 0(zero)?
which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;
which type of aspect you want from the student.
How does free() know explain how much memory to release?