whitch value return void main?

Answers were Sorted based on User's Feedback



whitch value return void main?..

Answer / viji

It doesn't return any value

Is This Answer Correct ?    15 Yes 2 No

whitch value return void main?..

Answer / srinath goud

void main returns 'no value'.

Is This Answer Correct ?    14 Yes 4 No

whitch value return void main?..

Answer / viji

It doesn't return any value

Is This Answer Correct ?    6 Yes 2 No

whitch value return void main?..

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

whitch value return void main?..

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

whitch value return void main?..

Answer / shankar

void main doesn't return any value

Is This Answer Correct ?    4 Yes 1 No

whitch value return void main?..

Answer / pradeep

void main might return a value.
you should not assign to other variable.

Is This Answer Correct ?    4 Yes 1 No

whitch value return void main?..

Answer / sukh

"void" returns no value

Is This Answer Correct ?    2 Yes 2 No

whitch value return void main?..

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

whitch value return void main?..

Answer / prabu

yes there is no return a value for void main function

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 Answers  


Explain the use of bit fieild.

0 Answers  


What is the value of uninitialized variable in c?

0 Answers  


Why #include is used in c language?

0 Answers  


What will the preprocessor do for a program?

0 Answers   Aspire, Infogain,






What is hashing in c?

0 Answers  


What are data types in c language?

0 Answers  


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?

0 Answers   TISL,


Explain what are run-time errors?

0 Answers  


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;

8 Answers   TCS,


What is fflush() function?

0 Answers  


Categories