Professional Documents
Culture Documents
EXPERIMENT NO.2
Aim:
Write a program to demonstrate the concept of data-types, printf & scanf statement and sizeof
operator
Problem Statement
Write a program to store details of a student such as 1. Roll No 2. Gender 3. mobile no 4.
weight(float). Take all the values from the user. Display value and size (bytes) of each variable.
Theory:
Conclusion: Hence we studied the concept of data-types of variable, printf, scanf and sizeof () operator.