User Profile

Collapse

Profile Sidebar

Collapse
anwar7517525
anwar7517525
Last Activity: Feb 29 '08, 05:23 PM
Joined: Dec 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • anwar7517525
    started a topic Find 3 smallest values in array
    in C

    Find 3 smallest values in array

    Dearest how can i find three smallest values in array
    I solve it by sorting array in ASC Order then i print first three values but i want to another efficient way can you have any efficient way
    See more | Go to post

  • anwar7517525
    replied to Auto number
    0) Insert atleast one record then goto table Design View
    1) Delete AutoNumber Field
    2) Click on Save but not close the table
    3) Now create Field and give the autonumber field then
    save now show datasheet view...
    See more | Go to post

    Leave a comment:


  • C, C++ and Java Expression same but results different

    In Turbo C 3.0
    #include<conio. h>
    #include<stdio. h>
    void main(void)
    {
    int x=-250;
    x = --x + --x + --x;
    printf("%d",x);
    getch();
    }//it gives: -259

    In Visual C++ 6.0
    #include<iostre am>
    using namespace std;
    void main(void)
    {
    int x=-250;
    x = --x + --x + --x;
    cout <<x;
    }//it gives: -257

    In Java
    class Test
    {
    ...
    See more | Go to post
No activity results to display
Show More
Working...