Which of the following functions can help us to find the version of python that we are currently working on?What is output of below program?int main(){int i,j,count;count=0;for(i=0; i5; i++);{for(j=0;j5;j++);{count++;}}printf("%d",count);return 0;}
What will be the output of the following code?int main(){structure sook{int items;char name[30];}a;strcpy(a.name, "STAR");a.items=10;printf("%s", a.name);return 0;}
Predict the output of the below program#includestdio.hvoid fun(int *ptr){*ptr=50;}int main(){int x=20;fun(&x);printf("x=%d",x);return 0;}
include stdio.hFind the output for the following programint main(){int n1=20, n2=30, i, gcd;printf("n1=%d\n n2=%d\n",n1,n2);for(i=1; i = n1 && i = n2; ++i){if(n1%i==0 && n2%i==0)gcd = i}printf("GCD of %d and %d is %d", n1, n2, gcd); return 0;}
#includestdio.hint main(){printf(3 + "Program");return 0;}