|
NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY |
| HOME >> ACADEMIC PROGRAMS >> EIE >> PROGRAMMING IN C |
SECOND SEMESTER
PROGRAMMING IN C
FULL MARKS: 100 TIME: 3 HOURS.
1. Types of Programming Languages:
Introduction to C. Desirable program characteristics. The C character set. Identifiers and Keywords. Data types. Constants, Variables, declarations, expressions, statements, symbolic constants.
2. Single character input
The getchar function, single character outpout, the putchar function, entering input data - the scanf function, writing outpout data - the printf function, the gets and puts functions. interactive (Conversational) programming. Arithmetic operators, Relational and logical operators, Assignment operators, the conditional operator.
3. The while statement:
The do - while statement, the for statement, nested loops, the if-else statement, the switch statement, the break statement, the continue statement, the comma operator, the goto statement.
4. Defining a function:
Accessing a function, passing arguments to a function, defining an array, processing an array, passing arrays to a function, multidimensional arrays, arrays and strings, macro.
5. Pointer declarations:
Passing pointers to a function, pointers and one-dimensional arrays, operations on pointers, pointers and multidimensional arrays, opening and closing a data file, creating a data file.
Books:
1. Theory and problems of Programming with C - B.S. Gottfried (Tata McGraw Hill).
2. Programming in C - E.Baluguruswamy (Tata McGraw Hill).
| HOME >> ACADEMIC PROGRAMS >> EIE >> PROGRAMMING IN C |
© Copyright National Institute of Science &
Technology, Berhampur, Orissa, India
Website Maintained by NIST Training & Consultancy Services