Why this error is popping up (for int index = -1). Here's the segment of code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#define Offset 12
int num_frames;
struct node
    {
        struct node* next;
        long data;
    };
struct page
{
    int index = -1;
    int frame = -1;
    int dirty = 0; //0 is clean, 1 is dirty
    int valid = 0; //0 is not, 1 is valid
    int referenced = 0; //0 is not, 1 is referenced
};
Any insight would be appreciated!
 
     
    