- 1

I do it , it is good or not ???

#include <iostream> using namespace std; int main () { int a = 7 , b = 8; ++a; --b; cout <<"a= " <<a <<" , b= " <<b <<endl; a++; b--; cout <<"a= " <<a <<" , b= " <<b; return 0; } ( a= 8 , b= 7 a= 9 , b= 6)

7th Jul 2017, 5:58 PM
Sultan Ali
Sultan Ali - avatar
1 Answer
+ 1
Good enough for self learning.
7th Jul 2017, 10:15 PM
soman