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

Wt are the Buses in C Language

3221


What is the meaning of typedef struct in c?

1072


What is the role of && operator in a program code?

1079


how to create duplicate link list using C???

2561


What is a const pointer in c?

1132


What is selection sort in c?

1103


Add Two Numbers Without Using the Addition Operator

828


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1259


c program to compute AREA under integral

2408


What is identifiers in c with examples?

1184


What are enumerated types?

1197


The statement, int(*x[]) () what does in indicate?

1151


Explain how many levels deep can include files be nested?

1079


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3325


What is masking?

1154