Welcome Guest.

1Answers

The c language lets the user adjust the position of the array elements themselves.

Asked by: Ruth Young 178 views IT August 16, 2018

int a[10],k;

scanf("%d",a+k);

What does scanf mean, how do you output it?

1 Answers

  1. +8Votes  

    scanf is the input function, the input can be done after the program runs.

    %d indicates that the input format is limited to a decimal integer

    a+k means input to a[k]

    Carl Watson- August 16, 2018 |