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 difference between stdio h and conio h?
What is selection sort in c?
Why c is known as a mother language?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
what is the difference between c and c++?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is calloc() function?
5. distance conversion: Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
What is meant by realloc()?
What is an lvalue?
How do shell structures work?
what is the difference between structural,object based,object orientd programming languages?