Write a program to read data from a file.
#include <stdio.h>
#include <conio.h>
int main()
{
FILE *fp;
char a;
fp=fopen("file_name.txt", "r");
while(a!=EOF)
{
a=fgetc(fp);
printf("%c", a);
}
getch();
}
4/20/2013 01:26:00 am Unknown 0 Comments
Write a program in c language to compare two strings without strcmp function or any other function
Write a program to find given given number is armstrong or not?
Write a program in c language to reverse a string in reverse order without using strrev function or any other function
Code Of This Shape . 1***** 12**** 123*** 1234** 12345* 123456
Write a program that will determine the prime factors of a specified factorial
Write a program in C++ to find the Factorial by recursive function.
Write a program in c language to reverse a string by using strrev function or ptrint a string in reverse order
Write a program to add two numbers by using pointers in C++ language.
Write a program in assembly language to get ASCII and convert it into Character.
Write a program in C language to add two numbers using pointers