logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Write a c program for bubble sort.


  • Correct Answer
  • #include int main(){ int s,temp,i,j,a[20]; printf("Enter total numbers of elements: "); scanf("%d",&s); printf("Enter %d elements: ",s); for(i=0;i=0;i--){ for(j=0;j<=i;j++){ if(a[j]>a[j+1]){ temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } printf("After sorting: "); for(i=0;i


  • Technology problems


    Search Results


    • 1. what are the differences between se01 se09 and se10 ?
    • Discuss
    • 2. Difference between transparent tables and pooled tables
    • Discuss
    • 3. What is the meaning of ABAP editor integrated with ABAP data dictionary?
    • Discuss
    • 4. What are the events in ABAP language?
    • Discuss
    • 5. What are the advantages and disadvantages of using views in ABAP programming ?
    • Discuss
    • 6. Server control events are handled in the server whereas HTML control events are handled in the page

    • Options
    • A. TRUE
    • B. FALSE
    • Discuss
    • 7. Server controls contain attributes whereas HTML controls have properties only.

    • Options
    • A. TRUE
    • B. FALSE
    • Discuss
    • 8. Which platforms does Silverlight support?
    • Discuss
    • 9. What is the difference between Silverlight 1.0 and 2?
    • Discuss
    • 10. What is JavaScript?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment