Answered step by step
Verified Expert Solution
Question
1 Approved Answer
D D Question 1 Static arrays can be resized in runtime. O True False Question 2 Strings are terminated by NULL True False Question
D D Question 1 Static arrays can be resized in runtime. O True False Question 2 Strings are terminated by NULL True False Question 3 One should not omit closing a file as there is a possibility for data loss. True O False Question 4 Encapsulation is a term commonly used to describe the use of macros in a function. O True False Question 5 Inheritance in object oriented programming means that one programming language such as C++ adopts the features and syntax of its predecessor such as C O True False Question 6 Which one of the following library functions is NOT used to specifically manage dynamic variables? Omalloc(size_t n) O memsetivoid *ptr, int valon size tnu Ofreelvoid *ptr) Orealloc(void *ptr, sice,t ni 1p 1 pts D Which of the following repetitive instructions execute at least once, regardless of the condition being true or false? O while O for Odo/while O foreach Question 8 Which of the following is NOT a predefined C language I/O stream? Ostdfp O stdin Ostderr Ostdout Question 9 Which of the following storage classes prohibit the use of the & (address of) operator on the associated variable. O static O auto extern 4 O register O extern static Question 10 Which of the following is NOT a C keyword or built-in datatype? O default enum O string O union Ostruct Question 11 Choose the correct syntax to create a new Boolean type that could be used to declare Bool type of variables the following way: Bool x, y O enum typedef [false-O; true-1) Bool O#dehne enum Bool (false: true-11: O typedef enum (false, true) Boot O enum bool(false-O:true-1] BOOL 4
Step by Step Solution
★★★★★
3.50 Rating (167 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below Question 1 False Static arrays cannot b...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started