segmentation fault when using double brackets with printf

Viewed 588
#include<stdio.h>
#define POOLNAME_FMT "Hello"

void main() {

 printf((POOLNAME_FMT "Cannot allocate %d bytes" POOLNAME_FMT "in pool not enough memory",5));

}

Why does it give segmentation fault when I use double brackets with printf. i.e. printf(( ));?

3 Answers
Related