01-04-2012, 10:17 PM
int x[10]; x[0]= 1; x[1]=2; if following code is executable.it means that x is lvalue. please tell me whether i m wrong or right?
Well x is not an lvalue. But x[i] is an lvalue.
If x is an array. you can not write it as x = 1.
Well x is not an lvalue. But x[i] is an lvalue.
If x is an array. you can not write it as x = 1.
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
