Here you can learn many programming Languages like C, C++, JAVA, Android..etc.
I post all programming language concept and also with practical and post programming language from Beginning to Advanced.
Contact Us
Get link
Facebook
X
Pinterest
Email
Other Apps
Contact Us
If you have any query regrading Site, Advertisement and any other issue, please feel free to contact at harshjani6373@gmail.com
Constants And Variable Constants: Constant is a any value that cannot be changed during program execution. In C, any number, single character, or character string is known as a constant. A constant is an entity that doesn’t change whereas a variable is an entity that may change. For example, the number 50 represents a constant integer value. The character string "Programming in C is fun." is an example of a constant character string. C constants can be divided into two major categories: Primary Constants Secondary Constants These constants are further categorized as Numeric constant Character constant String constant Numeric constant: Numeric constant consists of digits. It required minimum size of 2 bytes and max 4 bytes. It may be positive or negative but by default sign is always positive. No comma or space is allowed within the numeric constant and it must have at least 1 digit. The allowable range for integer const...
character set, identifiers, keywords Character set: A character denotes any alphabet, digit or special symbol used to represent information. Valid alphabets, numbers and special symbols allowed in C are The alphabets, numbers and special symbols when properly combined form constants, variables and keywords. Identifiers: Identifiers are user defined word used to name of entities like variables, arrays, functions, structures etc. Rules for naming identifiers are: 1) name should only consists of alphabets (both upper and lower case), digits and underscore (_) sign. 2) first characters should be alphabet or underscore 3) name should not be a keyword 4) since C is a case sensitive, the upper case and lower case considered differently, for example code, Code, CODE etc. are different identifiers. 5) identifiers are generally given in some meaningful name such as value, net_salary, age, data etc. An identifier name may be long, s...
Steps for Compiling and executing the Programs A compiler is a software program that analyzes a program developed in a particular computer language and then translates it into a form that is suitable for executionon a particular computer system. Figure below shows the steps that are involved in entering, compiling, and executing a computer program developed in the C programming language and the typical Unix commands that would be entered from the command line. Step 1: The program that is to be compiled is first typed into a file on the computer system. There are various conventions that are used for naming files, typically be any name provided the last two characters are “.c” or file with extension .c. So, the file name prog1.c might be a valid filename for a C program. A text editor is usually used to enter the C program into a file. For example, vi is a popular text editor used on Unix systems. The program that is entered into the file is known as the source program becaus...
Comments
Post a Comment