1.)
Code:
int x = 729799756911412043;
Is it really capable of holding such a large value?
2.)
Code:
scanf("%d",&c);
c = getc(stdin);
Why are you reading twice from the stdin?
Code:
fflush(stdin);
c = getc(stdin);
should do.
3.) c1 has never been initialised, and you are printing it's value. It's not an error (unless you use it somewhere), but just a point.
4.) Place the code between tags: [ CODE] and [/CODE] and not [CODE/]
5.) What is the error you are getting, be a little more descriptive.
>what i am tring to do is if you get the correct numeric value ...
Then:
Code:
fflush(stdin);
scanf("%d",&c);
alone should do.