-
Shaliga J wrote a new item 2 years, 4 months ago
Yes, we can compile, but it can’t be executed. But, if we use #define, we can compile and run a C program without using the main() function. For example:
-
Shaliga J wrote a new item 2 years, 4 months ago
The sprintf() stands for “string print.” The sprintf() function does not print the output on the console screen. It transfers the data to the buffer. It returns the total number of characters present in the string.
-
Shaliga J wrote a new item 2 years, 4 months ago
A loop running continuously for an indefinite number of times is called the infinite loop.
-
Shaliga J wrote a new item 2 years, 4 months ago
The typecasting is a process of converting one data type into another is known as typecasting. If we want to store the floating type value to an int type, then we will convert the data type into another data type explicitly.
-
Shaliga J wrote a new item 2 years, 4 months ago
The ANSI stands for ” American National Standard Institute.” It is an organization that maintains the broad range of disciplines including photographic film, computer languages, data encoding, mechanical parts, […]
-
Shaliga J wrote a new item 2 years, 4 months ago
A loop running continuously for an indefinite number of times is called the infinite loop
-
Shaliga J wrote a new item 2 years, 4 months ago
The argument passed to the main() function while executing the program is known as command line argument. For example: main(int count, char *args[]){ //code to be executed }
-
Shaliga J wrote a new item 2 years, 4 months ago
In C, every local variable of a function is known as an automatic (auto) variable. Variables which are declared inside the function block are known as a local variable. The local variables are also known as an […]
-
Shaliga J wrote a new item 2 years, 4 months ago
The union is a user-defined data type that allows storing multiple types of data in a single unit. However, it doesn’t occupy the sum of the memory of all members. It holds the memory of the largest member […]
-
Shaliga J wrote a new item 2 years, 4 months ago
In case of static memory allocation, memory is allocated at compile time, and memory can’t be increased while executing the program. It is used in the array. The lifetime of a variable in static memory is the […]
-
Shaliga J wrote a new item 2 years, 4 months ago
In case of a pointer to pointer concept, one pointer refers to the address of another pointer. The pointer to pointer is a chain of pointers. Generally, the pointer contains the address of a variable. The pointer […]
-
Shaliga J wrote a new item 2 years, 4 months ago
C is called a mid-level programming language because it binds the low level and high -level programming language. We can use C language as a System programming to develop the operating system as well as an […]
