3.1. Structure of a mikroC Program3.1.1. Comments3.1.2. Beginning and Ending of a Program3.1.3. Terminating Program Statements3.1.4. White Spaces3.1.5. Case Sensitivity3.1.6. Variable Names3.1.7. Variable Types(unsigned) char or unsigned short (int)signed char or (signed) short (int)(signed) intunsigned (int)(signed) long (int)unsigned long (int)float or double or long double3.1.8. ConstantsInteger ConstantsFloating Point ConstantsCharacter ConstantsString ConstantsEnumerated Constants3.1.9. Escape Sequences3.1.10. Static Variables3.1.11. External Variables3.1.12. Volatile Variables3.1.13. Enumerated Variables3.1.14. Arrays3.1.15. PointersArray Pointers3.1.16. Structures3.1.17. Unions3.1.18. Operators in CArithmetic OperatorsRelational OperatorsLogical OperatorsBitwise OperatorsAssignment OperatorsConditional OperatorsPreprocessor Operators#define, #undef, #ifdef, #ifndef#include#if, #elif, #else, #endif3.1.19. Modifying the Flow of ControlSelection Statementsif Statementswitch StatementExample 3.1Solution 3.1Iteration Statementsfor Statementwhile Statementdo StatementUnconditional Modifications of Flowgoto Statementcontinue and break Statements3.1.20. Mixing mikroC with Assembly Language Statements3.2. PIC Microcontroller Input-Output Port Programming3.3. Programming ExamplesExample 3.2Solution 3.2Example 3.3Solution 3.3Example 3.4Solution 3.4Example 3.5Solution 3.5Example 3.6Solution 3.6Example 3.7Solution 3.7Example 3.8Solution 3.8Example 3.9Solution 3.93.4. Summary3.5. Exercises