Question Bank: Programming in ‘C’ (9017) Class: FYIF Chapter No. 01 Basic of C Summer 2007: Marks 1. State different data types supported by ‘C’ language (W-2007). 2 2. Write a ‘C’ statement for each of the following: 2 i. Relational operator. ii. Assignment operator. 3. State the use of increment and decrement operator and give its precedence and Associativity. 4 4. Define the following: 4 i. Expressions ii. Data types iii. Bitwise operators iv. Logical operators Winter 2007: 1. Explain the use of bitwise operator. 2 2. State the use of increment and decrement operators. Also give difference between i++ and ++i with example. 4 3. What is variable? How to declare it? How variable differs from constant? 4 Other: 1. 2. 3. 4. 5. 6. 7.
Differentiate between unary, binary and ternary operators. 4 Explain constants and keywords with examples. 4 Give the use of scanf( ) with appropriate syntax. 2 What is precedence and associativity of operators? 2 Explain the use of manual and automatic type casting with suitable. 4 What is comment? Explain its use. 2 Give the meaning of following statement: printf(“The value of Radius is : %f”, radius); 2
CPR (FYIF) by Mr. Kute T. B. (Lecturer in IT, KK Wagh Polytechnic, Nashik 2007-2008)