Find no of tokens in following code:
#define square(x) x*x int main(){ int a=square(2); printf("%d", a); return 0; }
Does macro expansion effect the tokens count??
@Satyajeet Singh char a[]={'c','a','t','r','a','t'}; total token=19 not 14
read the last comment of this question https://gateoverflow.in/268033/self-doubt-token-count-character-literal#c285851
for more information read all comment of this https://gateoverflow.in/268033/self-doubt-token-count-character-literal#c285851
64.3k questions
77.9k answers
244k comments
80.0k users