-
Shathana. S.R. wrote a new item 2 years, 6 months ago
The Arrow operator is used to access elements in structure and union. It is used with a pointer variable. Arrow operator is formed by using a minus sign followed by a greater than a […]
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
It is a data structure that is used to store data in a particular order in which operations are performed. There are two types of storing orders, i.e. LIFO (last in first out) and FIFO (first in last o […]
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Yes, Can a program be compiled with the main function.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
A nested structure is used to make the complicated code easy. If we want to add the address of employees with other more details, then we have to create a nested structure for it.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
If the number is with a negative sign, then at the time of memory allocation, the number (ignoring the minus sign) is converted into the binary equivalent. Then the two’s complement of the number is calculated.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Static memory allocation is defined as the allocation of a fixed amount of memory at the compile time, and the operating system uses the data structure called stacks to manage memory allocation.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Header files are those which contain C function declaration and macro definitions that are to be shared between sourced files. Header files are generated with the extension .h. There are two types of header […]
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
At the time of compilation, the compiler generates a file with the same name as the C program file with different extensions.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Functions are the basic building blocks of any programming language. All C programs are written using the function to maintain reusability and understandability. Uses of functions in C: Functions can be used […]
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Dangling pointers are the pointers pointing to the memory location that has been deleted or released. There are three different types of dangling pointers
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
A null pointer represents the empty location in the computer’s memory. It is used in C for various purposes: It will assign the pointer variable to the variable with no assigned memory In pointer related co […]
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Pointers are the variables in C that store the address of another variable. It allocates the memory for the variable at the run time. The pointer might be of different data types such as int, char, float, double, etc.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
The scope and lifetime of any variable are defined as the section of the code in which the variable is executable or visible. Variables that are described in the block are only accessible in the block.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Storage classes represent the storage of any variable. There are four storage classes in C: Auto Register Extern Static
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
The following are the major features of C: Machine Independent Mid-Level programming language Memory Management Structured programming language Simple and efficient Function rich libraries Case Sensitive
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
C is developed by Dennis M. Ritchie in 1972 at the Bell laboratories
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
It is known as a mother language because most of the JVMs, compilers, and Kernels are written in C language. If you know C, then you can easily grasp other programming languages.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
C is one of the oldest programming languages and was developed in 1972 by Dennis Ritchie. It is a high-level, general-purpose, and structured programming language that is widely used in various tasks, such as […]
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
The process of dividing the main program into executable subsection is called module programming. This concept promotes reusability.
-
Shathana. S.R. wrote a new item 2 years, 6 months ago
Null pointers are possible to use in three ways. As an error value. As a sentinel value. To terminate indirection in the recursive data structure.
- Load More
