Character Arrays - Introduction

At 2:52, the code still runs without the return 0 statement. Please explain how this occurs?

hello @yajurkhurana

for c++ version >=14 code works fine without return 0 statement