We can use ; after preprocessor or not it gives same output. Why? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 2

We can use ; after preprocessor or not it gives same output. Why?

30th Nov 2016, 7:53 PM
sagar goel
sagar goel - avatar
3 Respostas
+ 3
Preprocessor directives do not require a semicolon (;). Adding an unneeded semicolon simply inserts an empty statement which does nothing.
1st Dec 2016, 3:02 AM
Gordon Garmaise
Gordon Garmaise - avatar
+ 2
preprocessor directives need not to end with a semicolon
28th Dec 2016, 11:54 AM
shweta
+ 2
Thanks
28th Dec 2016, 12:03 PM
sagar goel
sagar goel - avatar