Assuming this is for a programming language like c++, then the expression might look like
c = sqrt(a*a + b*b)
or you can use the pow function (short for power function)
c = sqrt( pow(a,2) + pow(b,2) )
writing "pow(a,2)" means "a^2"; similarly for b as well.