void ( * abc( int, void ( *def) () ) ) ();



void ( * abc( int, void ( *def) () ) ) ();..

Answer / susie

Answer : :

abc is a ptr to a function which takes 2 parameters .(a).
an integer variable.(b). a ptrto a funtion which
returns void. the return type of the function is void.

Explanation:

Apply the clock-wise rule to find the result.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More C Code Interview Questions

program to find magic aquare using array

4 Answers   HCL,


int swap(int *a,int *b) { *a=*a+*b;*b=*a-*b;*a=*a-*b; } main() { int x=10,y=20; swap(&x,&y); printf("x= %d y = %d\n",x,y); }

1 Answers  


main() { int i=5; printf("%d",++i++); }

1 Answers  


How can i find first 5 natural Numbers without using any loop in c language????????

2 Answers   Microsoft,


/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }

4 Answers  






How will you print % character? a. printf(“\%”) b. printf(“\\%”) c. printf(“%%”) d. printf(“\%%”)

4 Answers   HCL,


Predict the Output: int main() { int *p=(int *)2000; scanf("%d",2000); printf("%d",*p); return 0; } if input is 20 ,what will be print

2 Answers  


Write a C program to add two numbers before the main function is called.

11 Answers   Infotech, TC,


Write a program to print a square of size 5 by using the character S.

6 Answers   Microsoft,


main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }

7 Answers  


What is the subtle error in the following code segment? void fun(int n, int arr[]) { int *p=0; int i=0; while(i++<n) p = &arr[i]; *p = 0; }

1 Answers  


what is brs test reply me email me kashifabbas514@gmail.com

0 Answers  


Categories