Advancedkill
08-02-2009, 12:02 AM
Hi
If I want to assign the value 3 to an integer variable by doing 10/3 (and forgetting about the remainder) how would I do this? (Using C for my language)
Would
int x = 10/3;
always work?
Thanks
If I want to assign the value 3 to an integer variable by doing 10/3 (and forgetting about the remainder) how would I do this? (Using C for my language)
Would
int x = 10/3;
always work?
Thanks