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
#C Why don''t online compilers support the header file? What can I do to resolve this? PS. I have tried , does''nt work either. Thannk in advance.

I need Profile and optimize a C++ library for speed Project Description: Optimize and profile an existing C++ library for speed. This library uses OpenMP and OpenCV and C+

c program to find pebble merchant

Constructors By definition, a constructor function of some class is a member function that automatically gets implemented whenever an instance of the class to which the constru

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7 void main () { int a; clrscr (); a=1; while (a { if (a%7==0) printf ("%d\n",a); a++; } ge

what is the diffeerence between c and c++

Each function has its own stack frame between %fp and %sp. Let Caller calls Callee. Then Caller's %sp becomes callee's %fp, and callee's %sp set to be a new value (a smaller one be

Define Polymorphism? A: Polymorphism let a client to treat distinct objects in the similar way even if they were developed from distinct classes and exhibit different behaviors.

c program for padovan string   Padovan series are positive integers obtained by the following process: The Padovan series is the sequence of integers P(n) defined by the