C Type Declaration

Introduction

To get the best out of this article, the reader should have a basic Knowledge of C Language. By this article we learn how to read and identify complex type declaration in C language. Let Us C.

C professionals have no trouble to read simple C type declarations like:

int arr[5]; // arr is an array of 5 integers. char *i; // i is a pointer to char.
double j(); // j is a function returning a double value.
But what we do about this statement?
char *(*(**arr[][8])())[]; // Huh??
But what we do about this statement?
So you can follow these technical tricks to read such complex things in C or
C++. Some basic types available in C are following:

For more details refer attachment

C Type Declaration

 

admin

Back to top