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
Definition of Singleton Class? what is the Purpose of it? what is the advantage?
what will we require to build project with the help of oracle
what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct
Define Form modules, Class modules and Standard modules
can we extend a class having only one parameterised constructor.Suggest the process to do it.
in a VB application, where the data will be stored after manipulation? what is the syntax for that?
What is the use of sas software? Is sas and sap are different?
how to convert infix expression to prefix expression?
what is difference between kpo and it industry? that is in terms of work, package etc
How to know we are in home page of a web application using QTP
Why did you ever become involved in QA/testing?
we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/
how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?
I'm new to ABAP. What is Module pool in SAP?
is it possible to learn sap from book without any tutorial. if yes please mention the beginner,s book of sap and also make your valuable advice for self study of sap .