Communicating with a computer involves speaking the language the computer understands , which immediately rules out English as the language of communication with computer .
However , there is a close analogy between learning English language and learning C language . The classical method of learning English is to first learn alphabets used in the language , then learn to combine these alphabets to form words , which in turn are combined to form sentences , and sentences are used to form paragraphs .Learning C is also quite similar first we will learn what are alphabets , digits , special symbols . Then using these we will form tokens (constants , variables keywords) . Then using these we will form in instructions . Then by the help of number of instruction we can able to write programs in C.
Steps in English language
Alphabets ------> Words ------> Sentences ------> Paragraphs
Steps in C programming Language
Alphabets Constants
Digits ------> Variables ------> Instructions ------> Program
Special Symbols Keywords
No comments:
Post a Comment