Question: 1 . Given char a = 4 , b = 7 , c = 9 , find the decimal values of the following expressions: 1

1. Given char a=4, b=7, c=9, find the decimal values of the following expressions: 1) a&b&c 2) a&b|c 3) a^b^c 4) a || b 5) a && c 2. Given char y=28, find the decimal values of the following expressions: 1) y & y 2) y& 0x0f 3) y <<2 4) y >>25) y >>3 3. Determine the size: 1) int arr2D[4][5]; 2) float arr3D[2][3][4]; 3) struct test1{int num; char a[10]; char *name;} t1; 4) union test2{int a; float b;} t2; 5) struct test3{float a; struct test1 b;} t3;

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!