num = 15if num 5:print("Bigger than number 5")if num = 20:print("Between 5 and 20")
#include stdio.hvoid swap(int *a, int *b) {int t = *a;*a = *b;*b = t;}void solve() {int a = 3, b = 5;swap(&a, &b);printf("%d %d", a, b);}int main() {solve();return 0;}
#includestdio.hWhat is the output of the following c programvoid TOH(int n,char x,char y,char z) {if(n0) {TOH(n-1,x,z,y);printf("%c to %c",x,y);TOH(n-1,z,y,x);}}int main() {int n=3;TOH(n,'A','B','C');}