The following code is designed to specifically return the value 36 instead it returns 49 but can't see how or why. Any help would be appreciated.
#include "stdafx.h"
#include<stdio.h>
#include<stdlib.h>
#define MUL(a,b) a*b
#define ADD(a,b) a+b
static int Func1(void)
{
static int n = 1;
// Returns 4
return n*++n;
}
int main()
{
static int Incs = Func1();
printf("%d\n", MUL(ADD(1, Incs), MUL(3, 4)));
}