#include stdio.hvoid solve() {printf("%d ", 9 / 2);printf("%f", 9.0 / 2);}int main() {solve();return 0;}
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)
What will be the output of the following Python code?max("what are you")Max returns the character with the highest ascii value.#include stdio.hFind the outputint main(){int a=1,b=2;printf("a=%d b=%d",b,a);if(ba){a++;b++;a=a+b;a=a*b;b=a-b;b++;printf("a=%d b=%d",a,b)"}return 0;}