2dix-The Student Choice
Log in Register now

C++ Program to DISPLAY SOURCE CODE AS OUTPUT

Write a Program to DISPLAY SOURCE CODE AS OUTPUT

#include<iostream.h> 
#include<conio.h>

void main()

{

FILE *p;

char ch;

clrscr();

p=fopen("raja.c","r");

while((ch=getc(p))!=-1)

putchar(ch);

fclose(p);

getch();

}


Note:
      If you want to change in this program please write through the comment on this page. you can also past similar program 
                 of c++ with output.your comment is valuable to the other user and person.


comments (0)

avatar