Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the function of void main()?

Answers were Sorted based on User's Feedback



what is the function of void main()?..

Answer / khemnath chauhan

void main()
//this function indicate the starting of the program furthur
tells that it has non return value.

Is This Answer Correct ?    40 Yes 12 No

what is the function of void main()?..

Answer / chirag sathvara

void main() function,it will flow of the program
execution,what are the next step of line to execute.
for example,
void main()
{
int b=0
cout<<b;
int c=0;
cout<<c;
}
/*it will indicate first create object of int type,after it
will genereate next statement.*/

Is This Answer Correct ?    29 Yes 10 No

what is the function of void main()?..

Answer / anu

void main() is a function. It is used in a program when a
function has no return value.

Is This Answer Correct ?    19 Yes 0 No

what is the function of void main()?..

Answer / amit shrivastava

main is the special function,,,,,,,, wch contain the
defination of u r program or we can say it contain the main
body of u r program.It is called as special funtion becoz
it is invoked by the compiler itself,no any other function
call the main().
the void is a return type which is use when no meaning ful
value is to be return

Is This Answer Correct ?    18 Yes 9 No

what is the function of void main()?..

Answer / bunny

It marks the beginning of the main body of the program and
also ensures that it is properly executed. Basically, void
main() creates the base for the program.

Is This Answer Correct ?    10 Yes 5 No

what is the function of void main()?..

Answer / shaheen

The expectation you have from a function is the return type
you can use(returntype) is called void here the example
void FunctionName(); here void is used when no meaning ful
value is return(simply int c=0; it does not return a value)



shaheen(mca)
kaikalur

Is This Answer Correct ?    7 Yes 4 No

what is the function of void main()?..

Answer / sonia

it shows the beginning of the program n this function is
called by the complier.here void means main()wont return any
value.

Is This Answer Correct ?    7 Yes 7 No

what is the function of void main()?..

Answer / revathi

it has no meaning it does not return any value to the
operating system

Is This Answer Correct ?    12 Yes 13 No

Post New Answer

More C Interview Questions

Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.

6 Answers   FCI, TCS,


whitch value return void main?

11 Answers  


main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 Answers   Vector,


int x=sizeof(!5.856); What will value of variable x?

2 Answers  


what is object oriental programing?

1 Answers  


n=7623 { temp=n/10; result=temp*10+ result; n=n/10 }

7 Answers   Wipro,


code for bubble sort?

1 Answers  


how memory store byte

4 Answers   Huawei,


Tell me with an example the self-referential structure?

0 Answers  


program to find the magic square

1 Answers   Infosys,


Is c procedural or functional?

0 Answers  


What is a static variable in c?

0 Answers  


Categories