Showing posts with label C Language. Show all posts
Showing posts with label C Language. Show all posts
How to color of text in C-Language using GCC Compiler

How to color of text in C-Language using GCC Compiler

agyanadda
In C-Language when you will use text color then you must have to know about the color code of C language. Name | Value | Black | 0
How to clear screen in C Language

How to clear screen in C Language

agyanadda
We can clear screen in C language according to the compiler. Using clrscr() - For TurboC Compiler Using system("cls") - For gcc/g++ & TurboC Compiler windows Using system("clear")
How to find the length of Array in C_Language

How to find the length of Array in C_Language

agyanadda
sizeof(): is used to get the data type size in C language. #include #include int main() { int arr[] = {1,2,3,4,5,6}; int length = sizeof(arr)/sizeof(int); //length of an
Function vs Methods

Function vs Methods

agyanadda
Function vs Methods There are given, what is the difference between Function and Method.                                Function                             Method It is a piece of code that is called by name. It is