adspace


write a program to remove duplicate from an ordered char array? in c

Answer Posted / avizo

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
printf("enter the first value a:");
scanf("%d",&a);
printf("enter the second value b:");
scanf("%d",&b);
sum=a+b;
printf("sum=%d",sum);
getch();
}

Is This Answer Correct ?    0 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointers in c with example?

1173


What is the difference between union and anonymous union?

1413


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2522


write a program to find out prime number using sieve case?

2182


How do you convert strings to numbers in C?

1351


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2743


Is int a keyword in c?

1067


What is dynamic dispatch in c++?

1142


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1187


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1625


will u please send me the placement papers to my mail???????????????????

1939


what is ur strangth & weekness

2598


Do you know the difference between malloc() and calloc() function?

1144


ATM machine and railway reservation class/object diagram

5344


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1306