Tuesday, 13 May 2014

C - Memory Management and with C - Command Line Arguments

Post By: Hanan MannanContact Number: Pak (+92)-321-59-95-634-------------------------------------------------------This chapter will explain dynamic memory management in C. The C programming language provides several functions for memory allocation and management. These functions can be found in the header file.S.N.Function and Description1void *calloc(int num, int size);This function allocates...
Read more

C - Recursion and With C - Variable Arguments

Post by: Hanan MannanContact Number: Pak (+92)-321-59-95-634-------------------------------------------------------C - RecursionRecursion is the process of repeating items in a self-similar way. Same applies in programming languages as well where if a programming allows you to call a function inside the same function that is called recursive call of the function as follows.void recursion(){ ...
Read more

C - Error Handling

Post By: Hanan MannanContact Number: Pak (+92)-321-59-95-634-------------------------------------------------------C - Error HandlingAs such C programming does not provide direct support for error handling but being a system programming language, it provides you access at lower level in the form of return values. Most of the C or even Unix function calls return -1 or NULL in case of any error...
Read more