i have declared a variable as
when i take input for this variable i.e
& take its cout, then it gives problem.
when i run this program, i gives num value as 12345678, it works fine & give cout. but when i give input as 1234abcd. it creates problem & displays only 1234.
please suggest solution to resolve this problem.