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
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...
Control Statement: Generally C program statement is executed in a order in which they appear in the program. But sometimes we use decision making condition for execution only a part of program, that is called control statement. Control statement defined how the control is transferred from one part to the other part of the program. There are several control statement like if...else, switch, while, do....while, for loop, break, continue, goto etc. if statement: Statement execute set of command like when condition is true and its syntax is If (condition) Statement; The statement is executed only when condition is true. If the if statement body is consists of several statement then better to use pair of curly braces. Here in case condition is false then compiler skip the line within the if block. void main() { int n; printf (“ enter a number:”); scanf(“%d”,&n); If (n>10) Printf...
Comments
Post a Comment