Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(The programming language is C) True or False 1-1 In the declaration int *p, q; , both p and q are pointers. oT oF 1-2

(The programming language is C)

True or False 1-1 In the declaration int *p, q; , both p and q are pointers. oT oF

1-2 In the following definition of a struct, the struct student forms a new data type. struct student { char name[10] }; oT oF

1-3 You can write a comment with // comments or /* comments */ oT oF

1-4 If there is declaration int a[] = {2,4,6,8,10}, *p= a; a 's value is the first address of the array, then * (p++) 's value is 4. oT oF

1-5 In switch statement, the constant expressions after each case should be different with each other. oT oF

1-6 In C, the expression (x > y>z) means whether x is larger than y and y is larger than z. oT oF

1-7 If there are fewer initializers than the number of elements in the array, C automatically initializes the remaining elements to the last value of the list of initializers. oT oF

1-8 There is a declaration as following: char a[10], b[10]; Therefore, a==b is used to compare the two strings. oT oF

1-9 If the value of function strcmp(a,b) is less than 0, it means that the parameters of function might be wrong. oT oF

1-10 The name of one array is the address of the first element. oT oF

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

=+7. How has the competition changed within the last three years?

Answered: 1 week ago

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago