Lex Program to Identify the Type of Number [Compiler]
This is the lex program to identify the type of number using regular expressions
This is the lex program to identify the type of number using regular expressions
The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet. FTP is built on a...
Yacc program to identify function declaration syntax and semantics using regular expressions Lex Program: YACC Program:
Lex Program to Identify both single line and multi line comments using regular expressions in lex
This is the YACC Program to Implement a program that accepts string of form a^nb where n>=1 ie..aaab or aaaaab or ab.it cannot have two or more than one b’s at the end Lex:...
This is the C program to find the transpose of a matrix. A matrix which is formed by turning all the rows of a given matrix into columns and vice-versa. #include void main() {...
This is the C Program to find the diagonal sum of a matrix #include void main() { int a[10][10],i,j,fwsum=0,rwsum=0,n; printf(“Enter the no. of rows and columns for Matrix :”); scanf(“%d”,&n); printf(“nnNow enter the Matrix...
Inter-process communication (IPC) is the activity of sharing data across multiple and commonly specialized processes using communication protocols. Typically, applications using IPC are categorized as clients and servers, where the client requests data and...
The Tower of Hanoi (also called the Tower of Brahma or Lucas’ Tower, and sometimes pluralized) is a mathematical game or puzzle. It consists of three rods, and a number of disks of different...
This is the C program to compare strings without using predefined string functions #include char string1[100],string2[100]; int flag=1,len1=0,len2=0; main() { int res; printf(“Enter String-1n”); gets(string1); printf(“Enter String-2n”); gets(string2); while(string1[len1]!=’’){len1++;} while(string2[len2]!=’’){len2++;} res=compare(string1,string2); if (res==-1||res==1) process(res);...
Recent Comments