• Pointer pointing at the wrong data
    hi all, I've been trying to send a prefixed data to my 8051 TXD vt the following command: ORG 000H LJMP SETUP ORG 003H ;External Interrupt 0 CLR P3.6 LCALL EXT_INTERRUPT RETI ORG...
  • function point
    flowing is error,Please help me!! #include <stdio.h> #define NUMBER 2 int max(int a[]) { int z; if(a[0]>a[1]) z=a[0]; else z=a[1]; return(z); } int process(void (* fun)(void...
  • Function pointers
    Hello all, We have a strange problem. During execution of a function, the control goes to some different line in a different function, without making a call it... I will try to explain the scenario...
  • function pointer
    hi all, do you think i can work around function pointers as following: extern void a(void); extern void b(void); void fptr(void *fp) { if (fp == a) a(); if (fp == b) b(); } void...
  • Pointer to function
    Hello all, can anyone give an example or link how to use a pointer to a function? I have a function with an (unsigned char) argument and which returns also an (unsigned char) value and I want to access...