In C there is no constant with a name. It is done with the preprocessor directive of #define as in #define pi 3.1416 The preprocesor substitutes every occurance of word pi (with blanks on either side) with 3.1416
Just type declare then the variable that you desire to assigned a certain constant value on it. Just type declare then the variable that you desire to assigned a certain constant value on it.
In C++ all names (including variables) must be declared before they can be used.
example in C: const int a [] = {10, 20, 40, 80};
It is often represented by c for constant or k for its phonetic equivalent. But as long as you declare it as a constant, any symbol will do.
Turbo C compiles c source. turbo c++ compiles c++ source code.
turbo c cannot execute c++ as well..since c++ is the superset of c .the cprograms can be compiled in turbo c++.
+ += - -= * *= / /= % %= = == != <= >= & && | ^ ~ << <<= >> >>= , [] () are the basic operator in TURBO C
+ += - -= * *= / /= % %= = == != <= >= & && | ^ ~ << <<= >> >>= , [] () are the basic operator in TURBO C
turbo is word to do the programming language in c & c++ and i do no about borland
turbo c is a compiler and c++ is a programming language.
1. Turbo C is an example of Integrated Developing Environment. 2. Turbo C has example programs, the most important is bgidemo.c
just try to read books about turbo c