Why is semi colon ; necessary at the end of C program | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why is semi colon ; necessary at the end of C program

5th Dec 2019, 7:58 PM
Sherif Oladele
Sherif Oladele - avatar
1 Antwort
+ 1
Because standards are implemented like that. Upon reading semicolon compiler treats it as end of statement. So in C statements are terminated by semicolon;
5th Dec 2019, 8:14 PM
Jayakrishna 🇮🇳