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...

How can I call a function, given its name as a string?

Answer Posted / neeraj

#include<stdio.h>
#define string sum1()
int main(){

int k=string;
printf("%d",k);
getch();
return 0;

}
sum1()
{
int c=6;
int d=7;
return(c+d);
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

942


Is main is user defined function?

1070


What is function definition in c?

1016


Explain built-in function?

1087


What is a char c?

992


Why we use conio h in c?

1154


Explain is it valid to address one element beyond the end of an array?

1147


Explain spaghetti programming?

1188


What is unsigned int in c?

932


What is a stream water?

1127


What is operator precedence?

1149


Explain how do you declare an array that will hold more than 64kb of data?

1397


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2130


What is unary operator?

1050


What does sizeof return c?

1006