how we can connect applet with database?



how we can connect applet with database?..

Answer / 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

More Programming Languages AllOther Interview Questions

What is Partial class and its use?

1 Answers  


You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?

0 Answers   Amazon,


A combination of multiple keys defined in a physical file or logical file is called a _________ key

3 Answers   IBM,


Write a program to reverse a number?

0 Answers   BirlaSoft,


Why we need new operator in java at the time of object declaration and why not in c++?

1 Answers   Zensar,






How to call a C++ function which is compiled with C++ compiler in C code?

0 Answers   Yahoo,


What is Negative testing?

0 Answers  


Outline the two important features of a terminating recursion. Any ideas?

0 Answers  


How to find out the user exit for va01.

1 Answers  


what are the difference between C,C++and Java

1 Answers   Wipro,


What is the client concept in SAP? What is the meaning of client independent?

3 Answers  


how to stop execution of step 3 in a job mainframe

0 Answers  


Categories