Define function pointers?
Answer / preeti singh
A function pointer is a type of pointer that points to a
function, for e.g. a pointer to the function :
int fun(int a,int b)
can be declared as :
int(*myptr)(int a,int b);
here myptr is a type of pointer which can point to any
function which takes two integer arguments and returns int.
Is This Answer Correct ? | 5 Yes | 0 No |
C language questions for civil engineering
Difference between Function to pointer and pointer to function
what is the difference between normal variables and pointer variables..............
15 Answers HP, Infosys, Satyam, Vivekanand Education Society,
What is pointers in c with example?
Why c is known as a mother language?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is a memory leak in structures? How can we rectify that?
What is the purpose of ftell?
Why static is used in c?
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
What is LINKED LIST? How can you access the last element in a linked list?
#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }