Memory leak occurs when programmers create a memory in heap and forget to delete it.
Categories
- Problem Statement
- Introduction To C
- Data Structure
- Blog
- Microcontroller
Most Popular
-
Befunge: Developed by : Chris Pressey Year: 1993 Stack-based, reflective, esoteric programming language.
-
-
The list below is an unordered list. You can pick any book you like, and some of the books don’t even cover a programming language at all,...
-
Recursion happens when function calls itself directly or indirectly.
Copyrights © 2016 Codzya. Powered by Blogger.
Showing posts with label Introduction To C. Show all posts
Showing posts with label Introduction To C. Show all posts
Friday, August 19, 2016
Thursday, May 12, 2016
Thursday, May 5, 2016
Sunday, May 1, 2016
Friday, April 29, 2016
Structure
Structure are used to collect related variables in one place .So we collect some different type variables under a same name to better handle.For Example student information can be gathered in one place.This will simplify any further operation over the collected data,because all information items are treated as a single entity called structure.
Thursday, April 28, 2016
Recursion

Recursion happens when function calls itself directly or indirectly.
Do .... While Statement
Do... while statement is similar to while statement , except that the condition is checked after executing each loop , which means that the first loop is performed without a check . The computer executes the do..while loop as the following flowchart :
Tuesday, April 26, 2016
String
Strings is a set of several consecutive characters ; each character can be represented in C language by a CHAR data type . This means that string value can be represented by an array of CHAR.
2D Arrays
2D Arrays is suitable to hold tabular information for example it can be used to store 4 students degrees in 6 subjects or to represent (mxn) matrix.
Monday, April 25, 2016
Continue Statement
For the for loop, continue statement causes the conditional test and increment portions of the loop to execute. For the while and do...while loops,continue statement causes the program control to pass to the conditional tests.
Variable Scope

Global Variables :
As you notice in the next example x defined one time globally then used in function() and main().
Functions
A function is a group of statements that together perform a task. EveryC program has at least one function, which is main(), and all the most trivial programs can define additional functions. You can divide up your code into separate functions.
Sunday, April 24, 2016
Switch Case

Example : Implement a C code to take grade form user "A,B,C,D,F" and print "Excellent,Very Good,Good,Pass ,Failed" by using switch case.
Inline Condition
Example : Implement a C code to get the minimum number by using Inline Condition
Subscribe to:
Posts (Atom)
Recent
Weekly
-
Befunge: Developed by : Chris Pressey Year: 1993 Stack-based, reflective, esoteric programming language.
-
-
The list below is an unordered list. You can pick any book you like, and some of the books don’t even cover a programming language at all,...
-
Recursion happens when function calls itself directly or indirectly.
-
1- The C Programming Language This book is a comprehensive guide to the finalized ANSI standard C language programming. It has b...
Comment
Get this Recent Comments Widget
!->



