This document outlines 15 topics related to basic concepts in the C programming language. It covers data types, variables, constants, operators, input/output functions like scanf(), sizeof(), and different types of arithmetic. For each topic, it asks to explain or differentiate the concepts in brief. The goal is to demonstrate understanding of fundamental C programming elements like data representation, variable declaration, operator usage, and basic arithmetic.
This document outlines 15 topics related to basic concepts in the C programming language. It covers data types, variables, constants, operators, input/output functions like scanf(), sizeof(), and different types of arithmetic. For each topic, it asks to explain or differentiate the concepts in brief. The goal is to demonstrate understanding of fundamental C programming elements like data representation, variable declaration, operator usage, and basic arithmetic.
This document outlines 15 topics related to basic concepts in the C programming language. It covers data types, variables, constants, operators, input/output functions like scanf(), sizeof(), and different types of arithmetic. For each topic, it asks to explain or differentiate the concepts in brief. The goal is to demonstrate understanding of fundamental C programming elements like data representation, variable declaration, operator usage, and basic arithmetic.
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.