#if and #else in C
In C, #if and #else are preprocessor directives that allow conditional compilation of code based on whether a given macro is defined or not.
Read tutorialTHE TUTORIAL LIBRARY
In C, #if and #else are preprocessor directives that allow conditional compilation of code based on whether a given macro is defined or not.
Read tutorialThis simple C program shows the method to accept and display command-line arguments.
Read tutorialThis simple C program shows simple arithmetic calculations.
Read tutorialThis simple C program shows how to find square and square root for a given number.
Read tutorialThis simple C program sorts the elements of an integer array and prints them.
Read tutorialThis simple C program prints a simple histogram.
Read tutorialThis simple C program computes the sum of all the elements of an array.
Read tutorialThis sample program in C demonstrates the concept of passing a pointer as a parameter to a function. In this program, the function "prompt" accepts two pointers. The second paramet
Read tutorialThis sample program in C demonstrates the concept of passing a double value to a function as parameter. The program accepts a number in feet and converts the feet into meters by us
Read tutorialThis is a simple calculator written in C. To use this calculator, just type the number, followed by the operand and then by another number. The application will then display the re
Read tutorialThis is a sample program that converts Infix to Prefix and Postfix in C.
Read tutorialThe various loops in C are While loop,do..while loop, and for loop. These loops can be nested to perform complex operations. The break and the continue statements are used to navig
Read tutorialOne example today. A better developer tomorrow.