(1) Write a while loop to print integers divisible by 2 in the range -m to m. (ii) Declare a two-dimensional array to st

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

(1) Write a while loop to print integers divisible by 2 in the range -m to m. (ii) Declare a two-dimensional array to st

Post by answerhappygod »

1 Write A While Loop To Print Integers Divisible By 2 In The Range M To M Ii Declare A Two Dimensional Array To St 1
1 Write A While Loop To Print Integers Divisible By 2 In The Range M To M Ii Declare A Two Dimensional Array To St 1 (39.34 KiB) Viewed 42 times
(1) Write a while loop to print integers divisible by 2 in the range -m to m. (ii) Declare a two-dimensional array to store 10000 floating point values such that it has identical number of rows and columns. (iii) How many iterations will it take to divide each of the numbers in the first 50 rows and 75 columns by 2 in the array declared in Q.1(11)? Number of iterations:
(v) Array name is a constant pointer and gives the address of the oth (first) element of the array. (True False)? (vi) Consider a hexadecimal number 123456789 H. How many bytes of memory are needed in RAM to store such a word? _bytes (vii) Assume that an integer variable needs 4 bytes space, a float variable needs 4 bytes space, and a character variable needs 1 byte space. Then we need a total _bytes space to store the structure in the RAM memory. of struct mydevice { int ports; int port_types [8]; float cost; int cpu_cores [8]; char chips [10]; struct make{ int version; int year; char vendor [10]; }; float current_rating, power_rating; };
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply