#include<stdio.h>int main(){printf("%c\n", ~('C'*-1));return 0;}
#include<stdio.h>int main(){int a, b = 10;a = -b--;printf("a = %d, b = %d", a, b);return 0;}
#include <stdio.h>int main() {int i, j, rows;printf("Enter the number of rows: ");scanf("%d", &rows);for (i = 1; i <= rows; ++i) {for (j = 1; j <= i; ++j) {printf("%d ", j);}printf("\n");}return 0;}
What will be the output of the following Java program?class leftshift_operator{public static void main(String args[]){byte x = 64;int i;byte y;i = x << 2;y = (byte) (x << 2)System.out.print(i + " " + y);}}