C Programming

Array character in C Programming

Array character in C Programming

In this tutorial we will see Simple Array Character in C Language.   #include<stdio.h> void main() { char name[10] = {‘D’,’I’,’P’,’U’}; int i = 0; printf(“Character Memory Location\n”); while(name[i]!=’\0′) { printf(“\n[%c]\t[%u]”,name[i],&name[i]); i++; } }   Read Also :- C Structure with Array and Loop Program Buy C++ Programming eBook

Array character in C Programming

typedef Statement in C with program

Using typedef statement we can create new data type in c programming language. Syntax:- typedef type name; Example:- typedef int number; Now we can use number as datatype, lets see:- number n = 10; WAP in C to Convert Hours in Minute and Secound #include<stdio.h> #define H 60 void main()…