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

what is the difference between 123 and 0123 in c?

0 Answers  


Explain how do you override a defined macro?

0 Answers  


how to implement stack operation using singly linked list

2 Answers  


which is faster execution: loops or recursion?

3 Answers  


What are header files in c programming?

0 Answers  






please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }

3 Answers  


code for replace tabs with equivalent number of blanks

0 Answers   Bosch,


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

0 Answers   HCL,


Is struct oop?

0 Answers  


#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }

7 Answers   Infosys,


what is op? for(c=0;c=1000;c++) printf("%c",c);

21 Answers   Trigent,


How to write a C program to determine the smallest among three nos using conditional operator?

2 Answers   Google,


Categories