Month: May 2017
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/chk.txt”,”r”); if(fp==NULL) { printf(“unable to open…
code: #include<stdio.h> int main() { FILE *fp; fp=fopen(“E:/nosemsters/codes/crefresh/crefresh/c_for_technical_interview_udemy_course/file pointer/b.txt”,”r”); if(fp==NULL) { printf(“unable to open file”); return 0;…
code: #include<stdio.h> int main() { FILE *fp; fp=fopen(“E:/nosemsters/codes/crefresh/crefresh/c_for_technical_interview_udemy_course/file pointer/a.txt”,”w”); if(fp==NULL) { printf(“Unable to open file\n”); return 1;…
code: #include<stdio.h> int main(int argc, char **argv) //default parameter { printf(“hello world\n”); printf(“ARGC=%d\n”,argc); int i; for(i=0;i<argc;i++) {…
Create a structure named Product with following two fields- 1. name (string) 2. price (double) Then create…
Recent Comments