This blog consists of C and C++ programs. C and C++ programming is the basics to learn any programming language. Most of the programs are provided with their respective outputs. This blog also contains Data Structures programs using Object-Oriented Programming (C++). Some of the best books for learning C and C++ programming are also mentioned.

Sunday 25 August 2013

Tips for executing C and C++ Programs

  1. All programming statements must be in lower case letter.
  2. Necessary header files must be included in the beginning.
  3. All programs must have main function.
  4. All variables must be declared with their data types.
  5. For each opening brace ‘{’ there should be a corresponding closing brace ‘}’.
  6. Each and every statement must be terminated with ‘;’ except the following statements.
                                   * include statement
                                   * function declaration statement
                                   * if statement
                                   * loop statement

No comments:

Post a Comment