Search:

Type: Posts; User: gunjansethi

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,135

    What does this error means ?

    Hello all,

    While trying to learn c. I meet with an error.

    The error is like-->


    Please tell me what does this error means.

    Thanks,
  2. Hi all, Thanks all for ur quick reply i check...

    Hi all,
    Thanks all for ur quick reply
    i check condition in my code. and afte that i call the function del to delete the first node. But on display the elements of list it give garbage. Please...
  3. please help me..How can I delete node at location 1 from a single link list ?

    Hello all,
    Please help me.
    I have write a serial link list program.Here i can delete node at any location except at location 1(head).



    Please tell me where i am going wrong ?
    please give...
  4. How many memeory does malloc will going to assign with defination ?

    Hello,

    what is the default return type of malloc.
    and how mamy memory malloc will going to assign with this atatement




    void * ptr;
  5. Replies
    2
    Views
    1,832

    Can i define structure like that ?

    Hello all,

    I come up with a strange defination of a struct ?
    Can we define it like that.
    And what does it means also how to solve that type of problem ?
    here is the code


    main(void)
    {
  6. thnks both for your inputs, but int const*p;...

    thnks both for your inputs,

    but int const*p;
    means its an constant pointer pointed to an int
    so p going to point integer i.e., on doing printf *p will suppose to print 6 not the p.

    Am i...
  7. Why the programs terminate at printf statements ?

    Hello all,

    I am confused why my program terminate at the second print statement.




    int main()
    {
    int const *p=6;
  8. Replies
    3
    Views
    2,204

    Thanks all for their quick inputs..

    Thanks all for their quick inputs..
  9. does a variable can be a static and extern both ?

    Hello

    does a variable can be a static and extern both at a time ?



    static extern int i;


    What does it mean ?
  10. Replies
    3
    Views
    2,204

    How array store in stack ..?

    Hello all,

    I stuck to a problem

    Statement: i define two function one returning a string and other a single char.

    the code is work fine it successfully return string "martin" and a char...
  11. Thanks a lot..

    Thanks a lot..
  12. Thanks to all.. But i read over internet that...

    Thanks to all..

    But i read over internet that "Static storage class can be specified for automatic as well as external variables such as:
    static extern varx; "

    Still i m ...
  13. static global variable and static extern global variable

    Hello all,


    What is the difference between static global variable and static extern global variable in c ?

    PLese Help me..!!


    Thanks,
    Gunjan
  14. basic difference between #include and #include""

    hello all,


    please tell me the basic difference between #include "file.h"
    and #include<file.h>...


    please add the example if anybody can....
  15. thnks a lot for your suggetion....

    thnks a lot for your suggetion....
  16. re:

    thnks a lot....

    My OS is windows XP..
    and using Turbo C..

    pls let me know if is there any other option to generate delay because my end aim is to transmit 1000 packets of 8byte at a baud rate...
  17. help.....!!!!!how much delay i will get by using delay(1)

    hello all,

    i m getting problem to generate a delay by using a simple delay function
    my doubt is--how much delay did i receive whn i call delay(1).


    code like as--


    delay(int a)
Results 1 to 17 of 17