Answer Posted / ashutosh shashi
for(i=0;i<n-1;i++)
{
for(j=0;j<n-i-1;j++)
{
if(arr[j] >a[j+1])
{
temp=arr[j];
arr[j]=arr[j+1];
arr[j+1]=temp;
}
}
}
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
Explain what are reserved words?
Write a program with dynamically allocation of variable.
Can you explain the four storage classes in C?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
Why ca not I do something like this?
Explain spaghetti programming?
Does c have an equivalent to pascals with statement?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Describe the order of precedence with regards to operators in C.
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
What is the -> in c?
Describe newline escape sequence with a sample program?
What are c identifiers?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
How many levels deep can include files be nested?