Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void fajna(int a,int b)
- {
- printf("fajna\n");
- }
- void nowa(int c, int d)
- {
- printf("nowa\n");
- }
- void zrob_cos( void(*coMamZrobic)(int,int))
- {
- coMamZrobic(2,5);
- }
- void kolos1()
- {
- void(*coMamZrobic)(int, int) = &fajna;
- //int a = 4;
- zrob_cos(&nowa);
- coMamZrobic(2,3);
- zrob_cos(coMamZrobic);
- //zrob_cos(&fajna);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement