C Data Types 1 Questions and Answers
C Data Types questions with answers help learners understand how data is stored, manipulated, and used in C programming. Data types form the foundation of C as they define the type of data a variable can hold, such as int, float, char, or double. Mastering C data types is essential for students preparing for placement exams or programming interviews at companies like TCS, Infosys, and Wipro. This topic often features in C programming MCQs and technical test questions that evaluate understanding of memory allocation, data precision, and type conversions. Practice these programming questions and answers to strengthen your core knowledge and prepare for real-world coding challenges.
C Data Types 1
Showing 10 of
50 questions
31. What is the default sign of "char" data type?
- signed
- unsigned
- Implementation-defined
- Always positive
32. Which data type is used for storing monetary values with precision?
- float
- double
- long double
- int
33. What is the purpose of "register" storage class?
- Stores in register
- Makes variable global
- Makes variable constant
- Increases size
35. What is the range of "unsigned char"?
- -128 to 127
- 0 to 255
- 0 to 127
- 0 to 65535
37. What is the difference between "signed" and "unsigned" integers?
- signed can be negative
- unsigned is larger
- signed is faster
- No difference
38. Which data type is used for storing single precision floating-point numbers?
- float
- double
- long double
- int
39. What is the size of "long int" on a 64-bit Linux system?
- 4 bytes
- 8 bytes
- 2 bytes
- 16 bytes