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

Write a program to swap two numbers without using third variable in c?

607


Tell us two differences between new () and malloc ()?

608


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1244


How many levels of pointers can you have?

695


Not all reserved words are written in lowercase. TRUE or FALSE?

717






What is the difference between void main and main in c?

613


How many keywords (reserve words) are in c?

603


What is static identifier?

693


Explain what is the difference between functions getch() and getche()?

598


What is a null pointer in c?

587


What are preprocessor directives in c?

628


Describe the difference between = and == symbols in c programming?

769


How do I determine whether a character is numeric, alphabetic, and so on?

616


Explain what is wrong in this statement?

626


Explain what is the purpose of "extern" keyword in a function declaration?

613