Answer Posted / trushali
when we write void main it means its not returning any value
to main function,so we do not need write return 0 at the end
of program.
but when we write main only then by default compiler
consider it as int main,and at the end we need to write
return 0(means successful completion of the program without
any problem).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is volatile keyword in c?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is 1d array in c?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
How do you print only part of a string?
What are nested functions in c?
By using C language input a date into it and if it is right?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Who invented b language?
What are the types of data types and explain?
Why c is procedure oriented?
What is the total generic pointer type?
What are the types of functions in c?
How does selection sort work in c?
In C, What is the #line used for?