Q&A

Given the following data declaration statements in c : int

Given the following data declaration statements in c :
int Ali,John=2,Steve=3;
Assuming integers are stored in 16 bits and long integers in 32 bits,what is the value in each variable after each of the following statements
Ali=John * 2 + Steve John * Steve;
Ali= ((-1^John)& 7) | Steve;
Ali= John++ + ++Steve;

Leave a Reply

Your email address will not be published.