Question: Problem 2.1 Determine the size,minimum and maximum value following data types. Please specify if your machine is 32 bit or 64 bits in the

Problem 2.1 Determine the size,minimum and maximum value following data types. Please specify if your machine

Problem 2.1 Determine the size,minimum and maximum value following data types. Please specify if your machine is 32 bit or 64 bits in the answer. char unsigned char short int unsigned int unsigned long float C programming language Types, operators, expressions Hint: Use sizeof() operator,limits.h and float.h header files Problem 2.2 Write logical expressions that tests whether a given character variable c is lower case letter upper case letter digit white space (includes space,tab,new line) Problem 2.3 Using precedence rules, evaluate the following expressions and determine the value of the vari- ables (without running the code). Also rewrite them using parenthesis to make the order explicit. Assume (x-10,y=2,z=2;).Expression: z=y=x+++++y*2; Assume (x=10,y=4,z=1;). Expression: y>>= x&0x2 && z Problem 2.4 Determine if the following statements have any errors. If so, highlight them and explain why. int 2nd value=10; Assume (x=0,y=0,alliszero-1). alliszero =(x=1) && (y=0); Assume (x-10,y=3,z=0;). y=++x+y;z=z-->x; 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Explanation For a 32bit machine char Size is 1 byte Minimum value is 128 and maximum ... View full answer

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 Programming Questions!