We can use a loop statement to rewrite the code. int sz; while ((sz = get_size()) <= 0) ; // Null statement