changing an item in an array in c
#include <stdio.h>
#define PI 3.142
int main(){
int a[5] ={12, 21, 34, 23, 13};
printf("Initial value of index 1: %dn", a[1]);
a[1] = 43;
printf("Final value of index 1: %dn", a[1]);
}
changing an item in an array in c
#include <stdio.h>
#define PI 3.142
int main(){
int a[5] ={12, 21, 34, 23, 13};
printf("Initial value of index 1: %dn", a[1]);
a[1] = 43;
printf("Final value of index 1: %dn", a[1]);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us