Professional Documents
Culture Documents
C Prgramming IA1 - Scheme - 2
C Prgramming IA1 - Scheme - 2
Subject
Name
C Programming (Integrated) Subject Code 2 3 E S C 1 4 C
Define tokens in C. Write and explain the different types of tokens with examples.
Write a C program to perform swapping of two numbers using i) Arithmetic operator ii) Bitwise
operator iii) Using Temp variable
10
List the rules for naming a variable in C. Which of the following are invalid variable names and
why?
Write a C program to input 3 numbers and find the smallest among them using a nested if-else
statement.
Explain the working of the else if ladder statement with syntax and examples.