whitch value return void main?
Answers were Sorted based on User's Feedback
Answer / kalyan
Void Doesn't Return any value instead u using int u need to
written any valu but void does n't return any value
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / aruna.r
void main() doesn't return any value.but we have to use
return type int means return any value
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / pradeep
void main might return a value.
you should not assign to other variable.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / 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 |
Answer / prabu
yes there is no return a value for void main function
Is This Answer Correct ? | 0 Yes | 0 No |
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
Explain the use of bit fieild.
What is the value of uninitialized variable in c?
Why #include is used in c language?
What will the preprocessor do for a program?
What is hashing in c?
What are data types in c language?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
what do the 'c' and 'v' in argc and argv stand for?
Explain what are run-time errors?
identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;
What is fflush() function?