C Program to demonstrate goto statement

The goto statement in C is an unconditional jump that transfers program control directly to a labelled statement within the same function. While modern C style discourages it, goto is still useful in a few real situations — most commonly for breaking out of deeply nested loops and for centralised cleanup/error handling. In this tutorial …

C Program to Demonstrate global and internal variables.

C Program to Demonstrate global and internal variables.When variable declared outside the all the blocks, they are called global variables, and they are initialized by the system. Variables declared within the functions are called as internal variables, the are locale to that function, and user only initialize the variable. Read more about C Programming Language …

C Program to demonstrate Enumeration.

C Program to demonstrate Enumeration. An enum(Enumeration) is a user-defined type consisting of a set of named constants called enumerators. This Program will return the month in a year. I.E. It returns 9 for September. Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning …

C Program to demonstrate the ‘do’ statement.

C Program to demonstrate the ‘do’ statement. The C do while statement creates a structured loop that executes as long as a specified condition is true at the end of each pass through the loop. Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning …

C program to Demonstrate the #define pre-processor.

C Program to demonstrate #define pre-processor. Macro is a piece of text that is expanded by the pre-processor part of the compiler. This is used in to expand text before compiling. Macro definitions (#define), and conditional inclusion (#if). In many C implementations, it is a separate program invoked by the compiler as the first part …

C Program to illustrate Arithmetic operators

C Program to illustrate Airthmatic operators. This program takes an integer variable i and performs the basic arithmetic functions like Addition, Subtraction, Multiplication, Division, Unary Addition and Unary Subtraction. Read more about C Programming Language . /*********************************************************** * You can use all the programs on www.c-program-example.com * for personal and learning purposes. For permissions to …