Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
c = c++ problem
- From: rajesh_gu@xxxxxxxxxxx (Rajesh Gupta)
- Subject: c = c++ problem
- Date: Fri, 31 Mar 2000 08:14:08 GMT
hello all
i have a simple problem
int c = 10;
c = c++;
and c is still 10 !
if use c = ++c; this gives me 11 this is quite obvious.
whats the logic behind c = c++ giving original value of c this ?
thanks in advance
Rajesh
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- Follow-Ups:
- c = c++ problem
- From: colinv
- c = c++ problem
- From: Julian E.Spina
- c = c++ problem
- Prev by Date: servlet's JNI question
- Next by Date: swing question
- Previous by thread: servlet's JNI question
- Next by thread: c = c++ problem
- Index(es):