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
Difference between MAC vs. IP Addressing
What is self-referential structure in c programming?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Can we access the array using a pointer in c language?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Who is the main contributor in designing the c language after dennis ritchie?
program to convert a integer to string in c language'
What is non linear data structure in c?
Explain what is the stack?
Is file a keyword in c?
What are the restrictions of a modulus operator?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What does sizeof return c?
What are variables c?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?