What is Volatile in c language?

1 answer

Answer

1077914

2026-08-09 12:50

+ Follow

'int' is the type, 'volatile' warns the compiler, that the value might be changed asynchronousy, so it mustn't be optimized (e.g. cached in register.)

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.