please post for any improvement in program
Type: Posts; User: SUVIR
please post for any improvement in program
#include<stdio.h>
#define max 10
void mergesort(int array[max],int low,int high);
void merge(int array[max],int k,int low,int high);
void main()
{
int array[max],low=0,high=max-1,i;
...
there no syntax error in program and program is compiling but when intopostfix function is called in it getop is called which should return desired value i.e if
value entered is digit it returns 'o'...
do anyone knows what to fix for output to work
#include<stdio.h>
#include<ctype.h>
#include<stdlib.h>
#define max 100
int stackpoint=0;
int stackbuff[max];
void push(int a);
int pop();
char getop(char infix[max]);
int precedance(char l);
when i run this program i find segmentation fault how can i remove this
#include<stdio.h>
#include<string.h>
#include<ctype.h>
#include<stdlib.h>
struct node
{
struct node *next;
int nodevalue;
};
struct node *start,*tail;
so taking it as global variable can work
i changed it to
if(c==EOF)
ITS NOT WORKING YET
program doesnot hav syntax error but doesnot give its specified output might be some logical error cant find it.
/* program to store runtime data in two multidimentional array and match them...