fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. struct Test{
  6. int km;
  7. };
  8.  
  9. struct Test obj;
  10. struct Test *wskaz = &obj;
  11. wskaz->km=4;
  12. *(wskaz.km)=4;
  13. return 0;
  14. }
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:12:12: error: request for member 'km' in something not a structure or union
     *(wskaz.km)=4;
            ^
stdout
Standard output is empty