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 |
In which layer of the network datastructure format change is done
what is the difference between global variable & static variable declared out side all the function in the file.
What is a volatile keyword in c?
What is the symbol indicated the c-preprocessor?
What is the hardest programming language?
what is an inline fuction??
Explain zero based addressing.
Is there anything like an ifdef for typedefs?
related proverb of "dont count your chicken before it hatches"
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Why are algorithms important in c program?
What is meant by initialization and how we initialize a variable?