Developer community
0 votes
57 views
asked by | 57 views

1 Answer

0 votes
Best answer

It is used to return the string equivalent of the passed parameter. Consider the following example:-
#define debug(exp) printf(#exp " =%f",exp);

Now debug(x/y); will convert to printf("x/y" " =%f",x/y);

This will print: x/y =<value of x/y in float>

answered by

Related questions

0 votes
1 answer
asked by sunny Expert (11.4k points) 16 23 32 | 235 views
0 votes
1 answer
asked by keem Expert (13.2k points) 29 44 63 | 1.5k views
0 votes
1 answer
asked by keem Expert (13.2k points) 29 44 63 | 1.4k views
0 votes
1 answer
0 votes
1 answer
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

3,754 questions
4,046 answers
117 comments
10,709 users