You've been around here long enough to know by now: USE CODE BLOCKS WHEN POSTING CODE. It's REALLY not that hard. Read the posting guidelines if you've forgotten how.
>> there is No error in code
Are you really certain about that? Have a good think about the following lines:
class bankacct account;
int num = 20110000;