Wednesday, February 14, 2007

C Language Assignment I

Last Date of Submission :19th Feb 07

1. Describe the basic features of a C language?
2. Discuss the programming style of a C language?
3. What is the role of semicolon in a C program?
4. Wat is the difference between a variable and a constant?
5. C language is said to be reach in data type. Discuss the various classes of data type available in C?
6. What do you understand by data qualifiers? What is the use of using such qualifiers.
7. What are the keywords used to define the following state with example?
1. Integral Data Type
2. Unsigned long integral data type
3. Floating point data type
4. signed character data type
5. signed short integral data type

8. What do you understand by ASCII value of a character? Can we use expressions including booth integral data type and character data type. Justify your answer.
9. What is escape sequence? When are these sequences required?
10. State whether following are true or false:
1. Every line of a C program must end with a Semicolon
2. C is not a case sensitive language
3. Every C program ends with a END word
4. main() is where program begins a execution
5. On one line in C program one can have only one statement
6. Closing braces of a C program signifies logical end of the program
7. Syntax error and logical errors are same.
8. Void is just a notation used with main().
9. A printf statement can generate only one line of output.
10. define and include are compiler directive statements.

.

No comments:

Post a Comment