Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C Input and Output Array Elements

// take input and store it in the 3rd element
​scanf("%d", &mark[2]);

// take input and store it in the ith element
scanf("%d", &mark[i-1]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #C #Input #Output #Array #Elements
ADD COMMENT
Topic
Name
1+3 =