Anonymous
BAN USER- 0of 0 votes
AnswersGive algorithm for a natural sort, i.e.
- Anonymous in India
if we are given following 2 string -
A11B
A5B
then the result should be
A5B
A11B
as 1st letter is same but at the second place 5 <11 and| Report Duplicate | Flag | PURGE
Roxar Software Engineer / Developer Algorithm - 0of 0 votes
Answers#include<stdio.h>
- Anonymous
#define TOTAL_ELEMENTS (sizeof(array) / sizeof(array[0]))
int array[] = {23,34,12,17,204,99,16};
int main()
{
int d;
for(d=-1;d <= (TOTAL_ELEMENTS-2);d++)
printf("%d\n",array[d+1]);
return 0;
}
what is wrong ??| Report Duplicate | Flag | PURGE
Software Engineer / Developer C
RepHello friends my name Neha Nanda from India Chandigarh city. Doing work in SEO line in Softsys company.
RepDonnaWHale, Data Engineer at ADP
Hi, I am passionate writer with a BA in English from the Ohio State University.5+ years of experience writing ...
Repashleymbosse, Associate at Accenture
I am an enthusiastic, hard-working and disciplined Catering Assistant with excellent track-record in working in the food industry. I am ...
RepI am an energetic sales professional with a track record of consistently increasing sales revenue in a competitive market. Contract ...
The question was to write some piece of code which can identify the memory leak , may be something like Garbage Collector. And the question was like suppose there is one program which crashes during runtime and core is getting generated in unix env how wud u find out the memory leak.
- Anonymous November 16, 2011