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
write a program to find the area under the curve y=f(x) between x=a & x=b

Implement, in rPeANUt, the a Fibonacci function by using the simple recursive approach. The Fibonacci function can be implemented in c as follow: int fib(int x) {   if (x

When declaring a variable of data type pointer, use the * in front of the variable name. These variables hold a memory location (like B45CDF), not an actual value like 30 or A:

What are the debugging methods you employ while came across a problem? A: Debugging with tools such as: 1.      DBG, GDB ,Forte, Visual Studio. 2.      Using tusc to trace

Aim: To implement a program to allocate memory dynamically for 2 dimensional array (accept and print matrix) using pointers. Code:                       #include #inc

Jewels can only be removed for polishing from either end of the necklace

Problem Statement: You have to write a C program to develop a Car Parking Management System for a busy commercial area. The system will record the car plate number, date and time w

C program to remove vowels in sentence : void main() {                 char  str[100];                 int n;                 printf("enter string\n");

Consider a group of n robots, numbered R2D1 through R2Dn, and m tasks, numbered 1 through m. Tasks can be different and robots are specialized, hence a given robot can only perform

A: It let you to provide an intuitive interface to users of your class, as well as makes it possible for templates to equally work well with classes and built-in/intrinsic types.