English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

Thesre is no operator ** in Cor other C based languages. Though it can be used with pointer to a pointer to get orginal value.
Such as
int *p;
*p=q;
int **s;
*s=p;
**p=**p+5;//this will increase q by 5



Now there is -- operator, that is decrement operator in C and all other C based language, which works just like ++.

that is like a++ increases a by 1, a-- decreases by1.

2006-06-11 14:42:51 · answer #1 · answered by Tanaeem 4 · 1 0

nope, that's why c++ is called that---that's where those operators came in. you'll have to just do it manually if you have to program in C: c = c-1;
can you not use c++? here's a good free compiler for it if you want: http://www.bloodshed.net/dev/devcpp.html

2006-06-11 17:12:31 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers