this might seem basic but i'm just starting with C (and this forum).
I just would like to be clear on the syntax for redefining specific array variables. For example, if i would like example[3][1] to be redefined as 9, what would the syntax be?
this might seem basic but i'm just starting with C (and this forum).
I just would like to be clear on the syntax for redefining specific array variables. For example, if i would like example[3][1] to be redefined as 9, what would the syntax be?
As in assignment to a specific array element? That would be like an assignment to a "ordinary" variable, e.g.,
Code:example[3][1] = 9;
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)