1. A C program which can print the file name it is kept in ;) .
#include<stdio.h>
main(){
printf(“the source file name is %s\n”,__FILE__);
}
2.
int dummy;
scanf(“%d”,&dummy);
but there is one more method which can save memory and time
what you do is
scanf(“%*d”);
Responses
0 Respones to "Secrets of C Language Codes"
Post a Comment
Comment