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 are the valid types of data that the main () can
return in C/C++ language

Answers were Sorted based on User's Feedback



What are the valid types of data that the main () can return in C/C++ language..

Answer / ayushi rastogi

Int

Is This Answer Correct ?    14 Yes 2 No

What are the valid types of data that the main () can return in C/C++ language..

Answer / milind furia

int and void(if u consider this as a datatype) only

Is This Answer Correct ?    4 Yes 6 No

What are the valid types of data that the main () can return in C/C++ language..

Answer / umashankar mishra

c returns int data type
whereas c++ return void

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More OOPS Interview Questions

What do you mean by binding of data and functions?

3 Answers  


Whats is abstraction in oops?

0 Answers  


what is object slicing?

9 Answers   L&T, Wipro,


What is constructor overloading in oop?

0 Answers  


What is Iteration Hierarchy? What is what is Object behavioral concept?

1 Answers  


Why is abstraction needed?

0 Answers  


How is polymorphism achieved?

0 Answers  


what is the difference between function template and template of function?explain with example.

2 Answers  


What is an orthogonal base class?

2 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.

5 Answers  


Should you protect the global data in threads? Why or why not?

2 Answers   IBM,


Categories