I\'ve looked at the official definitions, but I\'m still quite confused.
firstprivate: Specifies that each thread should have its own in
firstprivate
firstprivate and lastprivate are just special cases of private.
lastprivate
private
The first one results in bringing in values from the outside context into the parallel region while the second one transfers values from the parallel region to the outside context.