Swap function time complexity

time complexity of swap function with temp variable is better or time complexity of swap function with arithmetic operator is good . which one is good and what are there time complexity theoretically

Both are same … exactly same time complexity.

but how when I am calculating it via practically it is fluctuating

It depends on compiler as well. Online ide like codeforces and codechef treat them equally. and their overall time complexity is exactly the same.

for more details u can read here.