Open a File


Levels of difficulty: / perform operation:


Program

#include<stdio.h>

void main(){
    FILE *fp;

    fp = fopen("test","a");
    fprintf(fp,"%d %s %d\n",1,"asdfasdf",2);

    fclose(fp) ;
}





Quantitative Aptitude
Reasoning
Programming
Interview