int main(){int i = 1 ;i = i - 1 ;while(i){cout"its a while loop";i++ ;}return 0;}
#include stdio.hWhat is the output of the following programint main() {int a = 1;int b = 0;int output;if (a == 1 && b == 1) {output = 1;} else {output = 0;}printf("a = %d, b = %d, output = %d\n", a, b, output);return 0;}
// filename Test.javaclass Test {public static void main(String[] args) {for(int i = 0; 1; i++) {System.out.println("Hello");break;}}}
public class Main{public static void main(String []args){int i,j,lines=3;for(i=1;i=lines;i++){for(j=lines;j=1;j--){if(j!=i)System.out.print(j);elseSystem.out.print("*");}System.out.println("");}}}
#includestdio.hint main(){char *ptr;char string[] = "learn C learnC.com";ptr = string;ptr +=1;printf("%s",ptr);return 0;}
#includestdio.hint stuaverage(int mat, int sci, int eng);int main(){int mat=20;int sci=50;int eng=90;stuaverage(mat,sci, eng);return 0;}int stuaverage(int mat, int sci, int eng){printf("%d",mat+sci+eng/3);}
int main(){while(1){printf("sookshmas.com");}return 0;}