In this program, We are dividing the values of a and b, printing it.
As we couted to print only arr, it will print the address of the array.
In this program, we called by value so the value will not be changed, So the output is 10
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
There are no comments.Copyright ©CuriousTab. All rights reserved.