421
GB
Which C++ keyword marks a variable as thread-local storage?
IN
कौन सा C++ कीवर्ड एक वेरिएबल को थ्रेड-लोकल स्टोरेज के रूप में चिह्नित करता है?
A
static
स्थिर
B
thread_local
थ्रेड_लोकल
C
thread
धागा
D
local
स्थानीय
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
thread_local int x; each thread has its own x.
व्याख्या (हिन्दी)
थ्रेड_लोकल int x; प्रत्येक धागे का अपना x होता है।