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.


Apply the clock-wise rule to find the result.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Code Interview Questions

String reverse with time complexity of n/2 with out using temporary variable.

10 Answers   Symantec, NetApp,

how to swap 3 nos without using temporary variable

4 Answers   Satyam,

In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }

1 Answers  

What is the output for the program given below typedef enum errorType{warning, error, exception,}error; main() { error g1; g1=1; printf("%d",g1); }

1 Answers  

#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }

1 Answers  

main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

1 Answers  

why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

0 Answers  

How will u find whether a linked list has a loop or not?

8 Answers   Microsoft,

Code for 1>"ascii to string" 2>"string to ascii"

1 Answers   Aricent, Global Logic,

what is variable length argument list?

2 Answers  

main() { int a[10]; printf("%d",*a+1-*a+3); }

1 Answers  

main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }

1 Answers