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)
- nano prog1.c
- mkdir p
- cp prog1 prog2
- cat n prog1
7)Identify and correct any errors. If the statement is correct write,
CORRECT next to it. ( 5 points each)
- printf(the value is %n\d number);
- firstNumber secondNumber = thirdNumber -restofNumbers;
- */ This program determines the product of two numbers /*
- printf( %s %d , the sum of the numbers is, -x + - y);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
