You are on page 1of 1

PIC Assignment 1

1. What are the basic data types supported by C language.


2. What are comments? What are the two ways of defining comments in C.
3. What is a variable? What are the rules for defining variables in C.
4. What are constants? Briefly explain the two ways of creating constants in C.
5. Differentiate between relational and logical operators in C.
6. Differentiate between getche() and getch()
7. Differentiate between getche() and getchar()
8. Differentiate between syntax and logical error.
9. Differentiate between unary , binary & ternary operators in C.
10. Explain syntax specification used in scanf() function to read int , float , char
, double & long int data types.
11. Briefly explain sizeof() operator in C.
12. Briefly explain conditional operator in C.
13. Briefly explain type conversion in C.
14. Briefly explain integer arithmetic , floating point arithmetic & mixed mode
arithmetic in C.
15. Briefly explain the various arithmetic operators in C.

You might also like