What is (int)(blah)int

I was given this question at an interview, and have been wondering ever since.  Any ideas?
LVL 2
jasbroAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

adam923Commented:
looks like a cast from some compatible-type expression (blah) to an integer.  i have no idea what that int on the end is
an example

double a = 5;
int b=(int) a;
0
jasbroAuthor Commented:
The int on the end is the confusing part...when I answered, I just put that it was nonsense, but I wanted to know for sure.
0
chensuCommented:
You probably should have answered "Syntax error".
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

jasbroAuthor Commented:
Chensu:  Are you sure that it is a syntax error... (a syntax error is simply stating that the statement being evaluated makes no sense in the current context, therefore it is nonsense)
0
adam923Commented:
i'm looking through the ms vc++ 5.0 help files "c language reference" but i can't find anything to explain that extra int...
and i did get a syntax error when i tried it.  yes, jasbro, the compiler couldn't tell what was going on, therefore syntax error
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chensuCommented:
Yeah, simply try it with your C++ compiler. It will tell you.
0
jasbroAuthor Commented:
Chensu:  Do you think everyone is an idiot, obviously that was the first thing I tried.  I was trying to find out if anybody had ever used it (maybe in some other context, not by itself as a simple statement)
0
chensuCommented:
No, don't get me wrong.
0
jasonclarkeCommented:
I agree that this is probably gibberish, but you can get fairly close things that compile:

(int)(blah)int();

is OK (in terms of syntax) but you do need something on the end.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.