compile c program code
# Compile Code
gcc filename.c
# Run code
.\a.exe
compile c program code
# Compile Code
gcc filename.c
# Run code
.\a.exe
online c compiler
#include<stdio.h>
void accept_num(int arr[],int n);
int main(void)
{
int n,ptu[n];
printf("Enter limit of element in an array:");
scanf("%d",&n);
accept_num(ptu,n);
return 0;
}
void accept_num(int arr[],int n)
{
int i;
printf("\nEnter the element:");
for (i=0;i<n;i++)
{
scanf("%d",&arr[i]);
}
for (i=0;i<n;i++)
{
printf("\n arr[%d]=%d &arr[%d]=%u",i,arr[i],i,&arr[i]);
}
}
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