hey guys,
I have the following code :
for (int =0;i<a.size();i++)
{
if(key==a[i])
printf("found");break;
}
can anyone tell how can achieve the same without checking i with the condition lessthan a.size()(which is the size of the array a).
thanx
krithi