Out puts of C++ Programs
1.
Enter a,b value
4
5
9
**
2.
inner block s=40::s=10
outer block s=50::s=10
[Program finished]
**
3.
a= 100
b= 20
c= 120
[Program finished]
**
4.
i】
48
3
[Program finished]
ii】
48
3
[Program finished]
**
5.
Hello world
[Program finished]
**
6.
enter a,b values
5
7
a+b=12
[Program finished]
**
7.
i】
count=7
a=5
count=8
a=7
count=7
[Program finished]
ii】
object no =1
count=1
[Program finished]
**
8.
Enter a,b value
6
5
Enter a,b value
8
9
Enter a,b value
2
8
a+b=11
a+b=17
a+b=10
[Program finished]
**
9.
enter array value
6
5
9
44
77
before sort
array values
6
5
9
44
77
after sort
array values
5
6
9
44
77
[Program finished]
**
10.
enter array values
5
8
4
33
9
array values
5
8
4
33
9
enter serch element
4
location of the serch element=2
[Program finished]
**
11.
Enter array size :
5
Enter array elements :
87
66
7
34
55
maximam value :87
minimam value :7
[Program finished]
**
12.
enter no of roos and colomus
2
2
enter array values of a 6
8
3
9
array values of a
6 8
3 9
transpose of matrix
6 3
8 9
[Program finished]
**
13.
enter no of roos and colomus
2
2
enter array values of a
88
77
55
64
enter Array values of b
67
89
44
55
addition of matrix
155 166
99 119
[Program finished]
**
14.
enter nr,nr1,nc and nc1
2
2
2
2
enter array values of a
4
5
7
2
enter Array values of b
8
2
3
4
mul matrix
47 28
62 22
[Program finished]
**
15.
enter nr,nr1,nc and nc1
2
2
2
2
enter array values of a
4
5
7
2
enter Array values of b
8
2
3
4
mul matrix
47 28
62 22
[Program finished]
**
16.
Enter six name
shashi
akash
ravi
kiran
jayanth
Names in alphabetical order
akash
ravi
kiran
jayanth
shashi
[Program finished]
**
17.
Enter 12 values:
9
4
5
2
3
1
6
3
7
2
8
4
3d array values:
test[0][0][0] = 9
test[0][0][1] = 4
test[0][1][0] = 5
test[0][1][1] = 2
test[0][2][0] = 3
test[0][2][1] = 1
test[1][0][0] = 6
test[1][0][1] = 3
test[1][1][0] = 7
test[1][1][1] = 2
test[1][2][0] = 8
test[1][2][1] = 4
[Program finished]
**
18.
Enter a,b values:
5
8
addition= 13
Subtraction = -3
[Program finished]
**
19.
a】
c=9
[Program finished]
b】
a=6
a=6
[Program finished]
c】
Before swap
a=9
b=7
after swap
a=7
b=9
[Program finished]
**
20.
Enter a value
5
Enter b value
8
before swap
a=5
b=8
after swap
a=8
b=5
[Program finished]
**
21.
a=5
b=6
[Program finished]
**
22.
a=9
b=4
c=13
[Program finished]
**
23.
a】
Hi shashi
[Program finished]
b】
area of circle=38.465
[Program finished]
c】
area of circle=38.465
area of rectangle=20
[Program finished]
**
24.
id of x=50
id of y=50
id of z=50
id of t=50
[Program finished]
**
25.
In main function
no.of obj created :1
no.of obj created :2
no.of obj created :3
block1
no.of obj created :4
no.of obj destroyed :4
block2
no.of obj created :4
no.of obj destroyed :4
no.of obj destroyed :3
no.of obj destroyed :2
no.of obj destroyed :1
[Program finished]
**
26.
Hi
Bye
[Program finished]
**
Enter a,b value
4
5
9
[Program finished]
**
2.
inner block s=40::s=10
outer block s=50::s=10
[Program finished]
**
a= 100
b= 20
c= 120
[Program finished]
**
i】
48
3
[Program finished]
ii】
48
3
[Program finished]
**
Hello world
[Program finished]
**
enter a,b values
5
7
a+b=12
[Program finished]
**
i】
count=7
a=5
count=8
a=7
count=7
[Program finished]
ii】
object no =1
count=1
[Program finished]
**
Enter a,b value
6
5
Enter a,b value
8
9
Enter a,b value
2
8
a+b=11
a+b=17
a+b=10
[Program finished]
**
enter array value
6
5
9
44
77
before sort
array values
6
5
9
44
77
after sort
array values
5
6
9
44
77
[Program finished]
**
enter array values
5
8
4
33
9
array values
5
8
4
33
9
enter serch element
4
location of the serch element=2
[Program finished]
**
Enter array size :
5
Enter array elements :
87
66
7
34
55
maximam value :87
minimam value :7
[Program finished]
**
enter no of roos and colomus
2
2
enter array values of a 6
8
3
9
array values of a
6 8
3 9
transpose of matrix
6 3
8 9
[Program finished]
**
enter no of roos and colomus
2
2
enter array values of a
88
77
55
64
enter Array values of b
67
89
44
55
addition of matrix
155 166
99 119
[Program finished]
**
enter nr,nr1,nc and nc1
2
2
2
2
enter array values of a
4
5
7
2
enter Array values of b
8
2
3
4
mul matrix
47 28
62 22
[Program finished]
**
enter nr,nr1,nc and nc1
2
2
2
2
enter array values of a
4
5
7
2
enter Array values of b
8
2
3
4
mul matrix
47 28
62 22
[Program finished]
**
Enter six name
shashi
akash
ravi
kiran
jayanth
Names in alphabetical order
akash
ravi
kiran
jayanth
shashi
[Program finished]
**
Enter 12 values:
9
4
5
2
3
1
6
3
7
2
8
4
3d array values:
test[0][0][0] = 9
test[0][0][1] = 4
test[0][1][0] = 5
test[0][1][1] = 2
test[0][2][0] = 3
test[0][2][1] = 1
test[1][0][0] = 6
test[1][0][1] = 3
test[1][1][0] = 7
test[1][1][1] = 2
test[1][2][0] = 8
test[1][2][1] = 4
[Program finished]
**
Enter a,b values:
5
8
addition= 13
Subtraction = -3
[Program finished]
**
a】
c=9
[Program finished]
b】
a=6
a=6
[Program finished]
c】
Before swap
a=9
b=7
after swap
a=7
b=9
[Program finished]
**
Enter a value
5
Enter b value
8
before swap
a=5
b=8
after swap
a=8
b=5
[Program finished]
**
a=5
b=6
[Program finished]
**
a=9
b=4
c=13
[Program finished]
**
a】
Hi shashi
[Program finished]
b】
area of circle=38.465
[Program finished]
c】
area of circle=38.465
area of rectangle=20
[Program finished]
**
id of x=50
id of y=50
id of z=50
id of t=50
[Program finished]
**
In main function
no.of obj created :1
no.of obj created :2
no.of obj created :3
block1
no.of obj created :4
no.of obj destroyed :4
block2
no.of obj created :4
no.of obj destroyed :4
no.of obj destroyed :3
no.of obj destroyed :2
no.of obj destroyed :1
[Program finished]
**
Hi
Bye
[Program finished]
**
Comments