Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#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

#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


What is the Purpose of 'extern' keyword in a function declaration?

0 Answers  


What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,


What are lookup tables in c?

0 Answers  


write a program to print infinte number

4 Answers  


What is a Genralised LInked List?? Please give a detailed explation of it..

1 Answers  


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

0 Answers  


What does struct node * mean?

0 Answers  


Why does everyone say not to use scanf? What should I use instead?

0 Answers  


which one low Priority in c? a)=,b)++,c)==,d)+

10 Answers  


How can you invoke another program from within a C program?

0 Answers  


What are pointers? What are stacks and queues?

0 Answers   Hexaware,


Categories