Question: 9.a)Write a declaration segment in which the variables XI and XII are integers, Sleepy, Doc, and Dopey are characters, and Y and Z are real

9.a)Write a declaration segment in which the variables XI and XII are integers, Sleepy, Doc, and Dopey are characters, and Y and Z are real variables. b) Initialize integers to 0; characters to a lower case z and real numbers to 0. (15 points)

6).What does each of the following Unix commands do?

(5 points each)

  1. nano prog1.c

  1. mkdir p

  1. cp prog1 prog2

  1. cat n prog1

7)Identify and correct any errors. If the statement is correct write,

CORRECT next to it. ( 5 points each)

  1. printf(the value is %n\d number);

  1. firstNumber secondNumber = thirdNumber -restofNumbers;

  1. */ This program determines the product of two numbers /*

  1. printf( %s %d , the sum of the numbers is, -x + - y);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!