#include stdio.hWhat is the output of the following programvoid solve() {int x = 2;printf("%d", (x 1) + (x 1));}int main() {solve();return 0;}
#include stdio.hWhat is the output of the following programvoid solve() {printf("%d ", 9 / 2);printf("%f", 9.0 / 2);}int main() {solve();return 0;}
#define SIZE 11What would be the maximum value of the top that does not cause the overflow of the stack?struct STACK{int arr[SIZE];int top=-1;}
class father:def __init__(self, param):self.o1 = paramclass child(father):def __init__(self, param):self.o2 = paramobj = child(22)print "%d %d" % (obj.o1, obj.o2)