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 |
How can I access memory located at a certain address?
how do we remove the printed character in printf statement and write next it it
How do you define a function?
WHAT IS INT?
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
c program to input values in a table(using 2D array) and print odd numbers from them
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
What are the different types of storage classes in C?
How is pointer initialized in c?
i want to job in your company, so how it will be possible.
How do we print only part of a string in c?
What is a class?