What will be the output of the following code?void main() { int n; char ch; ch = 'N'; n = ch - 'A'; printf("%d", n);}#include stdio.hint main(){int y = 10000;int y = 34;printf("Hello World! %d\n", y);return 0;}
class tester:What is the output of the following programdef __init__(self, id):self.id = str(id)id="224"temp = tester(12)print(temp.id
class Blgvi{
public static void main(String[] args) {
int[] x = {300, 40, 57};
for (int i = 0; i x.length; i++) {
if (x[i] % 2 == 0) {
System.out.print(x[i] + " ");
}
}
}
}
Guess the output?#include stdio.hvoid solve() {char ch[10] = "abcdefghij";int ans = 0;for(int i = 0; i 10; i++) {ans += (ch[i] - 'a');}printf("%d", ans);}int main() {solve();return 0;}