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...
Type: Posts; User: king12
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...
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>
...
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...
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...
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...
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...
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
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?
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()
{
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?
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...
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
...
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...
@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...
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...
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...
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