Hina Softwares, Kattumannarkoil

Secrets of C Language Codes




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

 

Recent Comments

Popular Posts

Return to top of page Copyright © 2010 | Hina Softwares