Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C prgoramming, please I need them all to be done. Thank you {Int x=30, *y, *z; y=&x; z=y; *y=(*z)++; z++; x++; print f(x=%d, y=%d, z=%d

C prgoramming, please I need them all to be done. Thank you image text in transcribed
{Int x=30, *y, *z; y=&x; z=y; *y=(*z)++; z++; x++; print f("x=%d, y=%d, z=%d ", x, y, z); return 0;} A. x=32, y=500, z=500 B. x=31 y=504, z=508 C. x=32, y=500, z=504 D. x=31, y=500, z=504 What will be the output of the program? #include int main() {char str[20] = "Hello"; char *p = str; *p = M; print f("%s " str); return 0;} A. Mello B> Hello C. HMello D. MHello For a 10x10 two-dimensional int array a. if the base address of the first element is 1000 what is the address of the 4th element on the 3rd row? (Assuming each dement occupies 4 bytes). A 1096 B. 1092 C 1100 D 1132 int a(5)={11 22 33 44 55); int*p = a; which of the following is/are true? (choose all that apply) A. p = = 11 B. p = = &a[0] C. *p = = 11 D. 11 = = p[0] E. a = = p What will be the output of the program? #include int main() {int a[5] = {3 1 15 20 25}; int i j m; i = ++a[1]; j = a[1] ++; m = a[1++]

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions

Question

Are the rules readily available?

Answered: 1 week ago

Question

Are these written ground rules?

Answered: 1 week ago