#includeiostreamusing namespace std ;int main(){enum { blue,green=5, GREAT};cout blue " " GREAT;}
def thrive(n):if n % 15 == 0:print("thrive", end = " ")elif n % 3 != 0 and n % 5 != 0:print("neither", end = " ")elif n % 3 == 0:print("three", end = " ")elif n % 5 == 0:print("five", end = " ")thrive(35)thrive(56)thrive(15)thrive(39)
What is the output of this program?#includestdio.hvoid main( ){int i;for(i=1; i=5; i++){if(i==3)break;printf(%d, i)}}
int main(){int i,j,count;count=0;for(i=0; i5; i++);{for(j=0;j5;j++);{count++;}}printf("%d",count);return 0;}
#includestdio.hint main(){typedef static int *i;int j;i a = &j;printf("%d", *a);getchar();return 0;}
What is the output of C Program with functions.?int show();void main(){int a;printf("PISTA COUNT=");a=show();printf("%d", a);}int show(){return 10;}