Learn C

Learn C Language : String

‹ previous What Is String The way a group of integer can be stored in an integer array, similarly a group of character can be stored in a character array.Character array many a times called as strings.Most languages (Basic, Fortran etc.) internally treat strings as character array, but somehow conceal this fact from programmer.Character arrays …

Learn C Language : String Read More »

Learn C Language : Array

‹ previous Next › What are Arrays For understanding the arrays properly, consider the following program: main(){     int x;      x = 5;      x = 10;      printf(“x = %d”,x);} No doubt, this program will print the value of x as 10.Because when a value 10 is assigned to x, …

Learn C Language : Array Read More »

Learn C Language : Data Type

‹ previous Next › Integer, long and short Sometimes, we know in advance that the value stored in a given integer variable will always be positive.When it is being used to only count things, for example, In such a case we can declare the variable to be unsigned, as innn unsigned int num; With such …

Learn C Language : Data Type Read More »

Learn C Language : Functions

‹ previous Next › What is a Function A function is a self-contained block of statements that perform a coherent task of some kind.Every c program can be thought of as a collection of these functions.As we noted earlier, using a function is something like hiring a person to do a specific job for you.Sometimes …

Learn C Language : Functions Read More »