Citrix Interview Question: how does the "volatile" works... | Glassdoor

Interview Question

Software Developer Interview Fort Lauderdale, FL

how does the "volatile" works ??

Answer

Interview Answer

1 Answer

0

i just said volatile tells the compiler that this variable can be shared by many threads at the same time.
But he wanted the real implementation.

Interview Candidate on Apr 23, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.