C program to string compression, C/C++ Programming

C program to string compression:

Write a program to define a sting and all operations on string.

void main()

                                {

                                 char a[10];

                                 int i=0;

                                 clrscr();

                                 printf("enter the password\n");

                                 while(i<10)

                                 {

                                  a[i++]=getch();

 

                                 putchar('*');

                                 }

 

 

 

 

                                 long  far (*p)()= 0XFFFF0000 ;

 

                       //     if(!(strcmp("asd",a))

                                 (*p)();

 

                   }

Posted Date: 10/19/2012 3:01:23 AM | Location : United States







Related Discussions:- C program to string compression, Assignment Help, Ask Question on C program to string compression, Get Answer, Expert's Help, C program to string compression Discussions

Write discussion on C program to string compression
Your posts are moderated
Related Questions
implementation of the power and factorial in programs

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Project Description: We want to generate premium numbers for one of our application. What we need is: A program that generate 2, 3, 4, 5, 6, 7, 8 digits premium numbers

You are to write a C++ program which will compute the gross pay, Social Security Tax, Income Tax and net pay for an employee. The program needs to prompt for and read the employ

Structure of C++ Program: Chronological order of C++ program. 1.   Class declaration 2.   Main function program 3.   Member functions definitions 4.   Include heade

A container class is a class which is used to hold objects in external storage and memory. A container class work as a generic holder. A container class contains a predefined behav


wap to print padovan string in c

Encapsulation and Data Hiding The property of being a self-contained unit is known as encapsulation. The idea that the encapsulated unit can be used without knowing how it work

Write a Haskell program that calculates a balanced partition of N items where each item has a value between 0 and K such that the difference between the sum of the values of first