Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The output of the code below is #include #include int main() float x; x= ceila 0.1); printf(%.2f ); return 0;) Select one: a 2 b.

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
The output of the code below is #include #include int main() float x; x= ceila 0.1); printf("%.2f "); return 0;) Select one: a 2 b. 1.00 d. 0.00 The output of the code bellow is: #include > ant a[5] =( 5. 2. 12. 21 27 ) 1 = ++al 1 ) 2 - Tilt - al i++) printf("%d %d %d ". 1). 1) return 0.) Select one: a. 4,3,27 b. 3.3.27 5.4.3, 21 d. 3.3.21 This program reverses the array elements. For example, if ' is an array of integers with three elements such that ALOT-1,A[1] 2. A[2] = 3 Then after reversing, the array will be ALOJ = 3, A[1] =2, A[0] = 1 What are the missing statements in the program to do its job: Winclude int main() inct a 1001 printf("Enter the number of elements in array "); scanf("%d",&n) printf("Enteratray elements "); for(0;cnict) scanfix Bald); printf "Reverse array isin": for (c=0; cnc printfinal: return; The output of the code below is #include int main(void) { int row = 7,x=7; int column; while (row >=1) { x=7; while ( > row) printf(""); -- column = 1; while columns=row) printf("%s", row % 2 ? 165":"

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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions