Frage im Vorstellungsgespräch bei Tata Consultancy Services

What is library functions,odd even number without using 3rd variable.