class Name:def __init__(javatpoint):javajavatpoint = javaname1=Name("ABC")name2=name1
#include iostreamusing namespace std;int main() {for(int row=0;row5;row++){for(int col=0;colrow+1;col++){coutcol+1;}coutendl;}}
#include stdio.h#includeiostreamusing namespace std;int main(){int num1 = 5;int num2 = 3;int num3 = 2;num1 = num2++;num2 = --num3;cout num1 num2 num3;return 0;}
word = "sookshmas beyondknowing"What is the output of the following code?n = len(word)word1 = word.upper()word2 = word.lower()converted_word = ""for i in range(n):if i % 2 == 0:converted_word += word2[i]else:converted_word += word1[i]print(converted_word)
static k=5;extern int k;auto int k=10;register int k=20;int main(){printf("%d",k);return 0;}