In C/C++ a semicolon is used to terminate the statement.But if,while,switch(conditional constructs) do not require a semicolon to terminate.So if we use the printf statement inside these conditional constructs,then we do not require any semicolon to terminate the statement.
Notes on software architecture, AI-assisted development, distributed systems, and building reliable software.
hey..would the code for this be any different if you were asked to write code to count number of vowels for a given file i.e you do not have to enter any text but its already provided?
ReplyDelete