fork download
  1. #include <stdio.h>
  2.  
  3. typedef struct _tempStruct
  4. {
  5. int a;
  6. int b;
  7. }TempStruct;
  8.  
  9. void _function(TempStruct ** param)
  10. {
  11. TempStruct *temp = *param;
  12. temp -> a = 5;
  13. **param -> a = 6; //request for member 'a' in something not a structure or union
  14. *param -> a = 6; //request for member 'a' in something not a structure or union
  15. param -> a = 6; //request for member 'a' in something not a structure or union
  16. }
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function '_function':
prog.c:13:13: error: request for member 'a' in something not a structure or union
     **param -> a = 6; //request for member 'a' in something not a structure or union
             ^
prog.c:14:12: error: request for member 'a' in something not a structure or union
     *param -> a = 6; //request for member 'a' in something not a structure or union
            ^
prog.c:15:11: error: request for member 'a' in something not a structure or union
     param -> a = 6; //request for member 'a' in something not a structure or union
           ^
stdout
Standard output is empty