how we can connect applet with database?

Answer Posted / balaji ganesh

#include<stdio.h>
void main()
{
int a[100],n,i,j;
clrscr();
scanf("%d",&n,printf("enter size of array:"));
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n-1;i++)
for(j=i+1;j<n;j++)
if(a[i]==a[j])
{
printf("second occurence value: %d",a[i]);
break;
}

getch();
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the similarity between networking devices?

1678


i am getting the error while compiling my cics program with including db2 dclgen member it is showing that ur dclgen member not including and all the host variables are undeclared

1095


when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?

1722


how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out

1494


How do you initialize a static member of a class with return value of some function?

672






can any one suggestion me present which course(except java,.net) has huge demand in the market?

1620


will it allow to add same value in HashMap class.

1664


hi, all this is shoba m.c.a . i have learned abap but no oppurtunities right now as fresher , right now i want to learn any course on demand any one pls suggest me good course and institute in hyderabad

1398


When we delete logfiles such as screenshots how does it affect the ldf file? Ive seen huge change while adding screenshots in the ldf file but a very minor one deleting them.Please Explain

1415


what do u mean by tagging

1616


kindly send interview materials

1316


When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.

1430


how does database connection using ADO.NET?

1522


hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry

1658


what is the BAM? where we can use it in BizTalk server?

1357