C NOT ! logical operator tutorial example explained #C #NOT #! // logical operators = ! (NOT) reverses the state of a condition bool sunny = false; bool subscribed = true; if(!sunny){ printf("\nIt's cloudy outside!"); } else{ printf("\nIt's sunny outside!"); } return 0;
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.