#include< stdio.h >
main()
{
JNTU
JNTU Kakinada
B.TECH
|
#include< stdio.h >
int recfactorial(int a);
int nonrecfactorial(int b);
int main()
{
JNTU
JNTU Kakinada
B.TECH
|
#include < stdio.h >
#include < stdlib.h >
int top = -1, size;
JNTU
JNTU Kakinada
B.TECH
|
#include< stdio.h >
#include< stdlib.h >
#define max 50
JNTU
JNTU Kakinada
B.TECH
|
*Write a C program to reverse the first n characters in a file.
(Note: The file name and n are specified on the command line.)*
JNTU
JNTU Anathapur
B.TECH
|
* Write a C program which copies one file to another. *
JNTU
JNTU Anathapur
B.TECH
|
a)
#include< stdio.h >
#include< math.h >
JNTU
JNTU Kakinada
B.TECH
|
* Matrix Multiplication *
JNTU
JNTU Anathapur
B.TECH
|
binary search..
#include< stdio.h >
int main()
JNTU
JNTU Anathapur
B.TECH
|
#include< stdio.h >
#include< stdlib.h >
int main()
{
int *p_array;
JNTU
JNTU Anathapur
B.TECH
|
i) by using arrays
#include< stdio.h >
#define MAX 10
int queue[MAX],front=-1,rear=-1;
JNTU
JNTU Kakinada
B.TECH
|
#include< stdio.h >
#include< string.h >
void main()
{
char s[50][20], t[50];
JNTU
JNTU Anathapur
B.TECH
|
Program:
To find the sum of individual digits of a given number
#include< stdio.h >
JNTU
JNTU Anathapur
B.TECH
|
i) by using arrays
#include
#define MAX 10
int queue[MAX],front=-1,rear=-1;
JNTU
JNTU Kakinada
B.TECH
|
C program to generate all the prime numbers between 1 and n
#include< stdio.h >
main()
JNTU
JNTU Anathapur
B.TECH
|
*(b)Newton- Gregory forward interpolation.*
JNTU
JNTU Kakinada
B.TECH
|
* (a) Write C program to implement the Lagrange interpolation.*
JNTU
JNTU Kakinada
B.TECH
|
Algorithm:
step 1: start
step 2:declare the variables f1=0,f2=1,next,and n ,i
JNTU
JNTU Anathapur
B.TECH
|
* program to implement Polynomial regression *
JNTU
JNTU Kakinada
B.TECH
|
#include < stdio.h >
int factorial(int);
int main()
{
int i, j, n;
JNTU
JNTU Anathapur
B.TECH
|
|