C

Listed below are few analogies w.r.t to C programming language concepts.


Loops

and

Clock - Moving Hands


****************

Nested Loop (3 loops)

and

Clock with Hour hand, Minute hand and Second hand


***************
Arrays

and

Row houses  in a street


********

Linked list

and

Railway Bogi Ex: S1, S2, S3 ….[you can enter S2 via S1]


**********


if else

and

Military physical fitness, depending on the height/weight of the candidate., they select

*****************

switch

and

Case label : BULB, Test Exp: Switch. if BREAK is missed, both bulbs will be ON

******************

Functions
&

main()


and

Office Work, Ex: A/C, Dispatch etc, Each desk does specific job.
&

Office Superintendent. Job assignment will happen by him only.  

****************************


Pointers

and

House # (addr) : Pointer

Members in house: values

House Name: Identifier (Variable Name)

******************



Structures

and

DD (int) :MM (String):YYYY (int) (DATE).


Student Record (Customized)

***************



Contributors: Prof. SGY / Prof. GAR / Prof. GMS

*****************

Mind Map of C Programming Language

Mind Map of C

No comments:

Post a Comment