User Profile

Collapse

Profile Sidebar

Collapse
saurabhamiable
saurabhamiable
Last Activity: Dec 7 '07, 11:16 AM
Joined: Oct 4 '07
Location: Bangalore
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • saurabhamiable
    replied to storing a float value
    in C
    actually i typed it wrongly, the value assigned to a is 0.7, then there is a mismatch. Kindly let me know....
    See more | Go to post

    Leave a comment:


  • saurabhamiable
    started a topic Steering the control
    in C

    Steering the control

    Can anyone please tell me that how the control flows in the following code and what will be its output?
    [CODE=c]main()
    {
    int fun(int);
    int i=3;
    fun(i=fun(fun(i )));
    printf("%d",i);
    }
    fun(int)
    {
    i++;
    return(i);
    }[/CODE]
    See more | Go to post
    Last edited by Ganon11; Oct 4 '07, 10:41 PM. Reason: Please use the [CODE] tags provided.

  • saurabhamiable
    started a topic emulators
    in C

    emulators

    Can anyone please tell me that how emulators are used in C?
    See more | Go to post

  • saurabhamiable
    started a topic storing a float value
    in C

    storing a float value

    I would like to know that why float datayppe never stores exact value that is assigned to them?
    for eg-> A piece of code
    main()
    {
    float a=.07;
    if (a<0.7)
    printf("mismatc h");
    else
    printf("C is precise");
    }
    Output: mismatch
    See more | Go to post
No activity results to display
Show More
Working...