Posts

Showing posts from 2014
First Term Syllabus (GGSIPU) Basic concepts of algorithm and flow charts with suitable examples, concepts of translators (compiler, interpreter and assembler) and their purpose,   key terms associated with translators ( loader, linker, scheduler, dispatcher). Introduction to programming languages, characteristics of C language, basic structure of a C program.   How to write program in C language, writing basic programs,  overview of compilation / execution process, explanation of key terms associated with compilation / execution (errors, bugs , run  time error, logical errors etc).   Programming using C: Preprocessor  Directives, Header Files, Main Function and, Macro.   Formatted and unformatted I/O statements, Data Types including enumeration, Tokens (keywords, Identifiers, Variables, Constants etc.).   Operators: Relational, Logical, Arithmetic, Conditional, Bitwise etc, Evaluation of expressions, Precedence and Assoc...
C – Basic Program                                                                                               We are going to learn a simple “Hello World” C program in this section. Also, all the below topics are explained in this section which are the basics of a C program. 1. C Basic Program:   #include <stdio.h> int main() {      /* Our first simple C basic program */      printf("Hello World! ");      getch();      return 0; } Output: Hello World! Explanation for above C basic Program: Let’s see all the sections of the above simple C program line by line. S.no Command Explanation ...