# C Programming

### C Program for DFA state minimization or Optimization

DFA State Minimization or Optimization C Program - C program for DFA (Deterministic Finite Automata) state minimization. Here is brief about C functions and variables used in DFA State Minimization Program: StateName --> state-name table print_dfa_table() -- > Function to print state-transition table is_one_nextstate() -->Check if all the next states belongs to same equivalence class. init_equiv_class() -->Divide DFA states into finals and non-finals. set_new_equiv_class()...

### C Code to Convert NFA INTO DFA

C Program to convert NFA ( Non-Deterministic Finite Automata) into DFA (Deterministic Finite Automata). Here is brief about conversion program from NFA to DFA: N_symbols --> number of input symbols NFA_states --> number of NFA states DFA_states --> number of DFA states put_dfa_table() --> Function is to print state-transition table where state names are 'A', 'B', 'C', etc.. init_NFA_table() --> To initialize NFA table string_merge()...

### C Program to find Second Largest number in an Array

C Program to find Second Largest number in an Array : Hey friends today we will learn how to write a C program to find the second largest number in an array. Logic is quite simple, first of all we will sort the elements in an array by using any sorting technique say bubble sort, selection sort or quicksort...

### C programming video tutorial 2 | Introduction to Programming Languages

Hey friends, C code champ has came up with a concept of sharing best C programming video tutorials available on internet. This video tutorial is made by Mr Phil Hameed, a software engineer having 15 years of exhaustive experience in C and C++ programming language. This is first of the series of tutorials covering the entire course of Programming...

### C Program of Multilayer Perceptron Net using Backpropagation

C Program of Multilayer Perceptron Net using Backpropagation : A multilayer perceptron (MLP) is a feedforward artificial neural network model that maps sets of input data onto a set of appropriate output. An MLP consists of multiple layers of nodes in a directed graph, with each layer fully connected to the next one. Except for the input nodes, each...

### C Program to print strings in alphabetical order

C Program to print strings in alphabetical order or Lexicographical order : As we all know there are several ways to sort strings alphabetically but using arrays is the easiest. Ordering Strings into alphabetical form is also referred as Lexicographical ordering of strings. Today we will learn how to sort or print strings in alphabetical order using C programming. ...