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...


In how many ways we can initialize an int variable in C++?



In how many ways we can initialize an int variable in C++?..

Answer / hrpynux@gmail.com

For example, to declare a variable of type int called x and initialize it to a value of zero from the same moment it is declared, we can write: int x = 0; A second method, known as constructor initialization (introduced by the C++ language), encloses the initial value between parentheses ( () ):

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain deep copy?

0 Answers  


Which is best c++ or java?

0 Answers  


Which is the best c++ compiler?

0 Answers  


When is the destructor called?

0 Answers  


What is meaning of in c++?

0 Answers  


What is the outcome of cout< a) 16 b) 17 c) 16.5

0 Answers  


What is the difference between method overloading and method overriding in c++?

0 Answers  


Should the member functions which are made public in the base class be hidden?

0 Answers  


What is size_type?

0 Answers  


simple c++ program for "abcde123ba" convert "ab321edcba" with out using string

5 Answers  


What is the basic concept of c++?

0 Answers  


What things would you remember while making an interface?

0 Answers  


Categories