Search:

Type: Posts; User: aqua

Search: Search took 0.00 seconds.

  1. Thread: Memory allocation

    by aqua
    Replies
    13
    Views
    2,398

    regarding return value of malloc

    Does malloc return the actual address or the relative address?

    I believe that malloc returns actual address for ordinary pointers and relative addresses for far and huge pointers...is n't it so?
  2. Thread: Doubt!!!

    by aqua
    Replies
    2
    Views
    1,365

    thanks a lot.....

    thanks a lot.....
  3. Thread: Doubt!!!

    by aqua
    Replies
    2
    Views
    1,365

    does the value 10 have anything to do with the...

    does the value 10 have anything to do with the ascii codes ????
  4. Thread: Doubt!!!

    by aqua
    Replies
    2
    Views
    1,365

    Doubt!!!

    could somebody please explain how this works (Dos based):




    int main( void)

    {

    int i ;
  5. Replies
    6
    Views
    1,890

    try this (assuming that amt is the length of the...

    try this (assuming that amt is the length of the input string)




    for( i = 0 ; i <= (amt-1) ; i++ )
    backwards[ i ] = input[ amt - (i+1) ] ;

    backwards[i]= '\0';
  6. Thread: Decoding

    by aqua
    Replies
    4
    Views
    1,776

    Re: Decoding

    for(i=0; i<100; i++)
    input3[i] = input[i];




    use strcpy() to copy input to input3

    syntax : strcpy(input3,input);
  7. Replies
    1
    Views
    8,767

    Re: C Graphics - Page Flipping

    solution :

    put the statement i=0 outside the loop.( before while)
  8. getch() would be better.

    getch() would be better.
  9. Thread: Help Please!

    by aqua
    Replies
    2
    Views
    1,112

    You can calculate arithmetic expressions by...

    You can calculate arithmetic expressions by converting it from infix to postfix form.

    eg. infix : 3+4

    postfix : 34 +

    The algorithm for this is available in Data structure...
  10. Thread: doubts on scanf

    by aqua
    Replies
    1
    Views
    1,153

    doubts on scanf

    My doubts ....

    1.


    int main(void)

    {

    int i;
  11. Thread: structure compare

    by aqua
    Replies
    12
    Views
    2,047

    here's the eg. u wanted #include...

    here's the eg. u wanted



    #include<stdio.h>
    #include<alloc.h>
    typedef struct data
    {
    int num;
    }object;
  12. Replies
    3
    Views
    1,389

    include this statement in your main...

    include this statement in your main program(prime.c)


    #include "is_prime.h"
  13. Replies
    10
    Views
    3,366

    problem with float

    could somebody explain why the following code gives "invalid" as the output?

    // code

    float w=2.3;
    if(w==2.3)
    puts("valid");
    else
    puts("invalid");
  14. Thread: file updation

    by aqua
    Replies
    1
    Views
    823

    file updation

    i need some help regarding file updation in remote systems using c . is there any library function available?
Results 1 to 14 of 14