Month: May 2017

25
May
2017

Struct Deep Example

code: #include<stdio.h> struct s1 { int roll; float gpa; }; struct s2 { char name[100]; char classe[20];…

24
May
2017

Road to Data Scientist and Python Ninja

Here , I will try to share some of the info about data scince mastery step by step…

24
May
2017

File Handling: Read Content From a Binary File

code: #include<stdio.h> int main() { FILE *fp; double data[5]; fp=fopen(“bin.bin”,”rb”); if(fp==NULL){ printf(“Unable to open file”); return 0;…

24
May
2017

File Handling: Formatted Data Reading and Writing Example

code: #include<stdio.h> #define SIZE 80 int main() { FILE *fp; FILE *fpr; fp=fopen(“E:/nosemsters/codes/crefresh/crefresh/c_for_technical_interview_udemy_course/file pointer/frmt.txt”,”r”); if(fp==NULL) { printf(“unable…

24
May
2017

File Handling: Fprintf Write Content to a File

code: #include<stdio.h> #define SIZE 80 int main() { FILE *fp; FILE *fpr; fp=fopen(“E:/nosemsters/codes/crefresh/crefresh/c_for_technical_interview_udemy_course/file pointer/frmt.txt”,”r”); if(fp==NULL) { printf(“unable…

24
May
2017

File Handling: Take formated input from textfile using fscanf() function

code: #include<stdio.h> #define SIZE 80 int main() { FILE *fp; fp=fopen(“E:/nosemsters/codes/crefresh/crefresh/c_for_technical_interview_udemy_course/file pointer/frmt.txt”,”r”); if(fp==NULL) { printf(“unable to open…