What is the output of the following code?int main(){char sook=1;while(sook5){printf("%d",sook);sook++;}}
What is the output of the following code?int main(){int a=10, b=20;if(!(!a) && a)printf("%d",a);elseprintf("%d",b);}
#includestdio.hint main(){int sookshmas = 1;{int beyond = 2;}{int knowing=3;}printf("%d %d %d",sookshmas,beyond,knowing);return 0;}
int main(){struct ship{char color[10];}boat1, boat2;strcpy(boat1.color,"RED");printf("%s ",boat1.color);boat2 = boat1;strcpy(boat2.color,"YELLOW");printf("%s",boat1.color);return 0;}