#define f(g,h) g##h
main O
int i=0
int var=100
;
print f ("%d"f(var,10));}

what would be the output?



#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what wo..

Answer / ricky

It will show an error:
Undefined symbol var10 in main function

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More C Interview Questions

What is the memory allocated by the following definition ? int (*x)();

2 Answers   ADITI,


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

2 Answers   Aricent, Manipal University,


What is the 'named constructor idiom'?

0 Answers  


size maximum allocated by calloc()

3 Answers   DELL,


what is the maximum limit of row and column of a matrix in c programming. in linux .

4 Answers   NIIT,






What is malloc calloc and realloc in c?

0 Answers  


Explain what is wrong with this program statement? Void = 10;

0 Answers  


can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?

2 Answers  


write a method for an array in which it can display the largest n next largest value.

1 Answers   Value Labs,


What is the difference between File pointer and Internal Charecter Pointer?

2 Answers   TATA,


What is the difference between null pointer and wild pointer?

0 Answers  


the operator for exponencation is a.** b.^ c.% d.not available

5 Answers   TCS,


Categories