void main(){
int i;
int j;
int *per;
int n;
printf("enter the length of permutation\n");
scanf("%d",&n);
per =(int*)malloc(n*sizeof(int));
if(per==NULL){
...
Type: Posts; User: Xaris
void main(){
int i;
int j;
int *per;
int n;
printf("enter the length of permutation\n");
scanf("%d",&n);
per =(int*)malloc(n*sizeof(int));
if(per==NULL){
...
struct Node
{
int data;
struct Node *next;
};
typedef struct Node Node_t;
int count_distinct(Node_t * start)