Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

inputting an array in c

int i, arr[10];

for(i = 0; i < sizeof(arr) / sizeof(struct i); i++)
{
  cin >> (arr[i].data);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #inputting #array
ADD COMMENT
Topic
Name
3+6 =