= (int*)malloc(sizeof(int)) ??

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4.  
  5. void read(FILE* input, int *n, float *atlseb){
  6.     fscanf(input, "%d", *n);
  7. }
  8.  
  9. int main(){
  10.  
  11.     FILE* input = fopen("input.txt", "r");
  12.     FILE* output = fopen("output.txt", "w");
  13.  
  14.     if(input == NULL){
  15.         fprintf(output, "Hibas Input!\n");
  16.     }
  17.  
  18.     int */*= (int*)malloc(sizeof(int)) ??*/;
  19.     float *atlseb;
  20.  
  21.     read(input, *n, *atlseb);
  22.     fprintf(output, "%d", &n);
  23.  
  24. return 0;
  25. }


Learn More :