Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1] Answer the following clearly: No Abbreviations: (True or False) .a)

ID: 3704495 • Letter: Q

Question

Question 1] Answer the following clearly: No Abbreviations: (True or False) .a) All conventional C statements terminate with colon .b) C++ statements cannot be used in C coding with C compilers .c) Address pointer can be declared as double variable, for accuracy d) Unicode lower byte corresponds to ASCII code of the specified character e) structure is a collection or variables which share the same storage 1)Members of the same structure should have unique names 8) in C++, inline functions put the function code in the stack memory for fast access h) In C++, Classes can also contain overloading functions a Ans b.Ans C.Ans dAns eAns_ Ans Ans h) Ans--

Explanation / Answer

a.All conventional c statements terminate with colon. TRUE.

Explanation:exactly.. all the conventional c statements are must terminate with the semicolon.. since semicolon indicates the end of the statement... If the statement is not ended with the semicolon then the compiler will throw an error... Semicolons are not needed for the looping like for loop,while loop and do while loop.. if the semicolon is placed at the end of the "if" loop .. then the meaning of loop is same as that if loop without any condition.

i.e., if(){ } is same as that of if();

b. cpp statements cannot be used in c coding with c compilersTrue:

Explanation: because it does not support it

c.Address pointer can be declared as double variable: False

Explanation: the address pointer can be declared as double , integer , character float.. Since all the pointeres are all of same size, it is not accepted that declaring the pointer variable as double will be more accurate than others.

d.Unicode lower byte corressponds to ASCII code for specific character True.

Explanation:ASCII defines 128 characters, which mapped to 0-127 numbers. Unicode defines 221characters, which is similar to map to the numbers 0–221.

Unicode is the superset of ASCII, and the numbers 0–128 have the same meaning as in ASCII as they have in the Unicode.Example, the number 65 means capital 'A'.

e.Structure is the collection of variable which share the same storage. False.

The structure is the collection of the data that are heterogenous. Each data in the structure are allocated the separate memory. while in the union, it is also the collection of the heterogeneous data as same as structure.. but in the union.. they have same storage... and the size of the union is the member that have larger size. that is

union

{

int a[10];

char c;

}; sizeof union is 40

f.The members of the same structure must be unique: true

the members of the same structure must be unique.. not only in structure.. the union members are also unique.

g In c++, inline functions put the function code in the stack memory for the fast access: true

h.class can contain overloading functions: true

Yes class can contain the overloading functions...

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote