Programming C Tutorial
--------------------------------------------------------------------------------------
Friday, June 10, 2011
DISPLAY SOURCE CODE AS OUTPUT IN C PROGRAM
#include
<stdio.h>
int
main
(){
FILE *p;
char
ch;
p=fopen(
"raja.c"
,
"r"
);
while
((ch=getc(p))!=-1)
putchar(ch);
fclose(p);
return
0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment