Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

6. What is the output of following program? # include void fun(int x) x = 25 8. Self-referential structures contain a member field that. (a)

image text in transcribed

6. What is the output of following program? # include void fun(int x) x = 25 8. Self-referential structures contain a member field that. (a) uses typedef (b) is an array (c) point to the same structure type (d) is another structure int main0 int y -20 fun(y) printf("%d", y); return 0; (a) 25 (b) 20 (c) Unknown value (d) Compiler error 7. Assume that float takes 4 bytes, predict the output of following program. 9. x>>2 is the same as (a) multiplying x by2 (b) multiplying x by 2 (c) dividing x by 4 (d) dividing x by 4 include int main0 10 is used to open a pipe for formatted piping float arr[5] 12.5, 10.0, 13.5, 90.5, 0.5); float *ptrl- &arr[0] float ptr2 -ptrl+3; (a) popen() (b) pipe() (c) pformat() (d) none of the above printf("%f", *ptr2); printf("%d", ptr2 _ ptr1); return 0 (a) 90.500000 3 (b) 90.500000 12 (c) 0.5000000 3 (d) 10.000000 12

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

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

ISBN: 0262660709, 978-0262660709

More Books

Students explore these related Databases questions