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 the purpose of checked Menu options

0 Answers  


4.Write a program to get the string in array and print that? or Without using loop print the array.

3 Answers  


Tell me the jobs for the MCA Fresher in delhi, Noida..

0 Answers  


What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above

9 Answers   InterGraph,


Which tag is used to create the frame

1 Answers  






when will triggars the at new event in abap and web dybn pro?

0 Answers   TCS,


what are the steps for creating prompt table dynamically for the specified field

0 Answers  


What is the difference between COM and CORBA?

0 Answers   Yahoo,


what is inprocess and outprocess in vb

1 Answers   Msoft,


You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)

0 Answers   Amazon,


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

0 Answers   Yahoo,


sample code for data transfer between two r/2 systems and r/3 systems?

0 Answers  


Categories