Home / MCQ Bank / Computer
Computer Multi Threading In C Plus Plus

Which header file is used for multi-threading in C++?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • <thread>

Related Computer Questions

What is the output of the following code? #include<stdio.h> int get_len(char *s) { int len = 0; while(s[len] != '\0') len++; return len; } int main() { char *s = "lengthofstring"; int len = get_len(s); printf("%d",len); return 0; } What is the number of moves required to solve Tower of Hanoi problem for k disks? What is the purpose of the Hive TRANSACTIONAL keyword in a CREATE TABLE statement? What will be the output of the following Python code? class Demo: def __init__(self): self.x = 1 def change(self): self.x = 10 class Demo_derived(Demo): def change(self): self.x=self.x+1 return self.x def main(): obj = Demo_derived() print(obj.change()) main() Which of the following disallows both dirty reads and nonrepeatable reads, but allows phantom reads?