Category Archives: Array

Typedef Enum Union Project

code:

 

Using function with Struct user defined type also pointer

code:

why we used *sp in one place and sp in another place ?there s a reason behind this
*sp means address is passing where after the local input takeup it will go but if not use  dereferencing then it will not go outside. So to write we need with address.

and in sp it is read only. so to print sp is enough to show.

vid:

Array of String

theortecical concept source:
http://stackoverflow.com/questions/20347170/char-array-and-char-array

code:

Problem:
source: 101cproblems:

Problem 80: Array of String

Take an array of string named fruitNames and store four fruit names (“Mango”, “Jack-fruit”, “Banana”, “Litchi”). Now iterate the array using loop and print the names of the fruits each in a separate line.

code:

 

2d array dynamically with pointer/basics of 2d array

code:

with free:

vid:

 

Char Pointer Practical Example Using String Input and String/Char Variable Passing

code:

Theory:

 

 

Send Array to Function Using Pointer

code:

 

Relationship Between 1D array and pointer

code:

theory: