ConcurrencyZomato
Nested queue output
You run this GCD code on the main thread. What's the output?
print("A")
DispatchQueue.main.async {
print("B")
DispatchQueue.main.async { print("C") }
DispatchQueue.global().sync {
print("D")
DispatchQueue.main.sync { print("E") }
}
print("F")
}
print("G")Pick one