#include<stdio.h>
#define sqrt(x) x*x
int main(){
int x=5;
int y=sqrt(x+1);
printf("%d\n",y);
return 0;
}

The answer is 11.
Can anyone explain why?
thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.