How Many Ways Are There To Initialize An Int With A Constant

How Many Ways Are There To Initialize An Int With A Constant


  • 22 Feb, 2012

    Two.There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.int foo = 123;int bar (123);

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.