Question: (c programing) what will be happen when the code is run? what will the output be? Does this program give the same result on every
(c programing) what will be happen when the code is run? what will the output be?
Does this program give the same result on every computer system? Briefly explain.
#include
int main()
{ int a = -2;
printf("%x", a>>3);
return 0;
}
4) What happens when the code is run? Does this program give the same result on its own computer system? Briefly explain.
#include
#define SQUARE(a) (a)*(a)
int main() {
int x = 3;
printf("%d ", SQUARE(++x));
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
