CP Lab – Experiment 10

EXPERIMENT NO 10

Aim:  Demonstration of data types and arithmetic operators in C.

Objectives:  Learn, Understand and Demonstrate use of various data types and arithmetic operators in C programming language.

Hardware requirements: Any CPU with Pentium Processor or similar, 256 MB RAM or more, 1 GB Hard Disk or more.

Software requirements:  Windows 64 bit Operating System, compatible gcc compiler, Netbeans 8.0 or later, jdk 1.6 or later, TurboC compiler

Algorithm:

Flowchart:

Exercise:

  1. Write a program to demonstrate various data types in C and use of sizeof operator to find memory required by them.
  2. C Program to Find ASCII Value of a Character
  3. Convert temperature from Celsius to Fahrenheit and vice versa.

Conclusion:

 

R.No Name of Student Date of Performance Date of Evaluation Grade Sign of student Sign of Faculty
             

 

Leave a Reply

Your email address will not be published. Required fields are marked *