Search:

Type: Posts; User: king12

Search: Search took 0.00 seconds.

  1. Thread: inserting nodes

    by king12
    Replies
    2
    Views
    1,631

    head should be set to null when list is empty...

    head should be set to null when list is empty
    Pointer of first node should be point to null when first node of list is created
    Pointer of second node should be point to first node when second node...
  2. Thread: inserting nodes

    by king12
    Replies
    2
    Views
    1,631

    inserting nodes

    I am trying to insert a node into list of ordered values let's say 1, 2,3

    I can add the node when list is empty but I can't figured what to do add more nodes in list


    #include <stdio.h>
    ...
  3. I think it is a challenge for a compiler to know...

    I think it is a challenge for a compiler to know where the variable is declared. I think the linker can tell whether the variable is in the same scope, or it is in different scope or declared in...
  4. When I declare a variable, how will I know what type of linkage it is?

    I am trying very hard to understand what is the linkage process in c language. I've read a lot about it but I still don't fully understand how it works.

    I understand that a C program can consist...
  5. Replies
    5
    Views
    3,826

    yes it worked, Now the problem is that there can...

    yes it worked, Now the problem is that there can be many variables in a program like we can see the value of all the variables at once in the watch window, can I see all the memory locations at once...
  6. Replies
    5
    Views
    3,826

    I get two different memory location of variable ...

    I get two different memory location of variable

    print statement display memory location 1383070532 of Number on terminal

    address bar display of memory 0x000000633418F744 of Number

    confused...
  7. Replies
    5
    Views
    3,826

    view memory location of variable

    Is it possible to view memory location of variable in visual studio without printf statement



    #include<stdio.h>


    #define size 5
    #define set 1
    #define Reset 0
  8. Replies
    9
    Views
    4,796

    double data type in c language

    There are four data type in c language int, chat, float and double. I can understand when to use first three data type but double data type I can't figure out when to use it.

    how do you use it?
  9. Replies
    1
    Views
    2,085

    Where do I put my curly brackets for array

    How do you put curly brackets for N dimensional array?

    I don't understand how to put my curly brackets for my array



    #include<stdio.h>

    int main()
    {
  10. Replies
    1
    Views
    2,701

    memory window in VSCode.

    I'm debugging a C program on on linux and cannot find a debug memory window in VSCode.

    Is there such a feature in VSCode and how do we access it?
  11. Replies
    2
    Views
    2,106

    When i run the program in VS Code i am getting...

    When i run the program in VS Code i am getting the output of the program in terminal and i am not getting any result on output tab. What do I have to do to see the results of the program on the...
  12. Replies
    2
    Views
    2,106

    VS Code Set UP - Newbie

    Is anyone using VS Code here ? How did you set up VS Code to compile and Debug code ?

    I have installed VS Code on Ubuntu I followed this link Get Started with C++ on Linux in Visual Studio Code
    ...
  13. Replies
    2
    Views
    2,471

    how the char data type stores the character

    I am trying to understand how char data type stores characters. The size of char data type is 1 byte, which means that the compiler can store a maximum of 255 characters.



    ASCII Table show 0 to...
  14. @salem As per your advice there is no...

    @salem
    As per your advice there is no difference between int and short they both serve the same purpose. It becomes very difficult to understand that in C standard two different words are written...
  15. what are the differences between int, short and long in terms of c standards?

    I am trying to understand what are the differences between int, short and long in terms of c standards? I'm sure these three are different meaning.


    I would be glad if someone explains the...
  16. Thread: variable space

    by king12
    Replies
    1
    Views
    2,092

    variable space

    I don't understand how much space variable will occupy depend on what factor ?

    These are my doubts

    Does only compiler decide how much space variable will occupy ?

    Does only target machine...
  17. Replies
    1
    Views
    2,302

    looking documents for C standard

    Hi,

    I am very new to c programming language. I want to read and understand c standards. I am looking documents for C standard. I don't find links on internet.

    kindly refer link for C standard
Results 1 to 17 of 18