Why is semi colon ; necessary at the end of C program | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

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

5th Dec 2019, 7:58 PM
Sherif Oladele
Sherif Oladele - avatar
1 Réponse
+ 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 🇮🇳