C Data Types 2 Questions and Answers

Take Exam

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.

Understand various data types in C. Study C structures and dynamic memory allocation

C Data Types 2

Showing 10 of 159 questions

11. Which of the following are the addressing modifiers ?

  • signed and unsigned
  • short and long
  • short and near
  • far and huge
Show Answer Report

12. In different compilers support different size of data types ?

  • yes
  • No
  • Can't say
  • None of these
Show Answer Report

13. Is different compilers supports different size of data types ?

  • yes
  • No
  • Can't say
  • None of these
Show Answer Report

14. Integer data type occupies how much memory.

  • 2 bytes
  • 4 bytes
  • System dependent
  • Memory dependent
Show Answer Report

15. Maximum range of an integer

  • MAX_MAX
  • INT_MAX
  • SIZEOF_INT
  • MAX_INT
Show Answer Report

16. What is the format specifier of short integer ?

  • % g
  • % hd
  • % si
  • % id
Show Answer Report

17. Which data types internally create a cycle ?

  • int
  • int, char
  • char, float
  • char, float
Show Answer Report

18. Modifers are used for

  • integrals
  • Real numbers
  • Both a and b
  • None of these
Show Answer Report

19. How to disable the rename of the data type ?

  • Using macro expression.
  • Using blank macro.
  • Both a and b.
  • None of these.
Show Answer Report

20. How a 'C' module can be called in the C++?

  • Using 'extern' keyword
  • using 'static' keyword.
  • using preprocessor directives.
  • Never be called.
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test