0% found this document useful (0 votes)
17 views2 pages

C Programming Concepts and Examples

The document outlines various fundamental concepts in C programming, including linking types, preprocessor directives, data types, and memory allocation. It also covers algorithm development, file operations, and different control statements, along with examples and C program implementations for tasks like binary search and file handling. Additionally, it discusses structures, arrays, and parameter passing mechanisms in C.

Uploaded by

MUKUNTH J
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

C Programming Concepts and Examples

The document outlines various fundamental concepts in C programming, including linking types, preprocessor directives, data types, and memory allocation. It also covers algorithm development, file operations, and different control statements, along with examples and C program implementations for tasks like binary search and file handling. Additionally, it discusses structures, arrays, and parameter passing mechanisms in C.

Uploaded by

MUKUNTH J
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Part A

Difference between Static linking and Dynamic linking

What is the use of preprocessor directive?

List some keywords present in c language.

Define documentation section in c program. what are the types of documentation

Draw the memory allocation of one dimensional array?

Define computational model.

What are the steps involved in algorithm development?

Give the structure of C program

Mention data types in C.

Define String. Give example

‘While’ is pre-tested loop and ‘do while’ is post- tested loop, Explain.

Define Array with an example. what are its Types?

What is meant by Recursive function?

Differentiate Actual parameters and Formal parameters.

What is the use of fseek()?

What is meant by text mode and binary mode operation of a file?

What is a pointer in C programming? What are its benefits

What is a file pointer and its syntax

What are the different modes used in files?


Part B
Explain in detail about the phases of problem development life cycle and Characteristics of
algorithm.

List the different operators in C. Explain them with appropriate examples

Define selection control statement and explain with an example program?

Explain the structure of a C program with simple example

Explain one dimensional array with example program

Explain Two Dimensional Array with Example Program

.Explain string functions with appropriate example

Explain the Parameter Passing mechanism in C with example

Write a C program to implement Binary Search using Recursive call.

Write a C program to implement Scientific calculator using Built-in functions.

Write a C program to implement Swapping of two numbers (with temp variable) using call
by value and call by reference.

Write a C program to find Average of Numbers stored in Sequential Access File

Briefly explain about Structures and Array of Structures with an suitable example

Discuss the read and write operations in a File using a C Program

Tabulate the different modes of opening a File

Develop a C program for Computation of Sine Series

Write a C program using structures to prepare the students mark statement.

Write a C program to copy content of one file to another file

You might also like