what is assembly level programming language?

An assembly language is the most basic programming language available for any processor. With assembly language, a programmer works only with operations that are implemented directly on the physical CPU. Assembly languages generally lack high-level conveniences such as variables and functions, and they are not portable between various families of processors. They have the same … Read more

what is machine level programming language?

Machine language is the lowest-level programing language which is only understandable by computers. Which consists of binary or hexadecimal instructions which a computer can understand. Just as “10101001”. Kinda weird ha! As humans cannot understand the low-level language so we use high-level languages which are completely understandable by humans because of high-level languages are just … Read more

why java is secure?

Main focus in this post is the security features of the Java programming language. What makes java more secure than other languages?   1. Doesn’t use pointers as other languages do Programming languages- notably C/C++ languages- use pointer values to manage application memory and safeguard data against data thieves. Although these pointers are secure to … Read more

Why is the C language important?

The following list illustrates the importance the C programming language, in no particular order: The C language is small and relatively easy to learn. C compilers can produce highly efficient code. C compilers and cross-compilers are widely available for a large array of hardware targets, from tiny eight-bit microcontrollers to giant mainframes. The availability of … Read more

Type Casting in c

C Programming Tutorial

Type Casting in c Type casting means changing a variable of one data type into another. The compiler will automatically change one type of data into another if it makes sense. For instance, if you assign an integer value to a floating-point variable, the compiler will convert the int to a float. Casting allows you to … Read more

Difference between Type Casting and Type Conversion

C Programming Tutorial

Difference between Type Casting and Type Conversion 1. Type Casting: In typing casting, a data type is converted into another data type by the programmer using the casting operator during the program design. In typing casting, the destination data type may be smaller than the source data type when converting the data type to another … Read more

C Program to find GCD of N Numbers

C program for GCD

C Program to find GCD of N Numbers #include<stdio.h> int main() { printf(“\n\n\t\tC Program for Greatest Common Divisor(GCD)\n\n\n”); int x, y =- 1; printf(“Enter numbers. To exit enter 0\n”); while(1) // infinite loop to take input { scanf(“%d”, &x); if(x < 1) break; else if(y ==- 1) // only 1 number entered, its GCD is … Read more

C program to Change the Text Background Color

C program to Change the Text Background Color

C program to Change the Text Background Color Few important points regarding this program are: SetConsoleTextAttribute: Sets the attributes of characters written to the console screen buffer by the WriteFile or WriteConsole function, or echoed by the ReadFile or ReadConsole function. This function affects text written after the function call. Syntax: BOOL WINAPI SetConsoleTextAttribute(_In_ HANDLE hConsoleOutput , _In_ WORD wAttributes); Below is the … Read more