What is the output of C Program with switch statement or block.?int main(){int a=3;switch(a){}printf("MySwitch");}
#includestdio.hint main (){int k=10;if (printf("Davangere\n"), k){printf("sookshmas") ;k++;}return 0;}
{ public static void main(String[] args) { int[ ] x = {120, 200, 016}; for(int i = 0; i x.length; i++) { System.out.print(x[i] + " "); } }}#include stdio.hint main(){short int i = 20;char c = 97;printf("%d, %d, %d\n", sizeof(i), sizeof(c), sizeof(c + i));return 0;}
#include stdio.hWhat is the output of the above program??int main(){int i = 3;printf("%d", (++i)++);return 0;}
#include stdio.hWhat is the output of this program.int main() {int a[] = {1, 2, 3, 4};int sum = 0;for(int i = 0; i 4; i++) {sum += a[i];}printf("%d", sum);return 0;}
#include stdio.h#includeiostreamusing namespace std;int main (){int array[] = {0, 2, 4, 6, 7, 5, 3};int n, result = 0;for (n = 0; n 8; n++){result += array[n];}cout result;return 0;}
#includeiostreamusing namespace std;int main (){int cin;cin cin;cout "cin: " cin;return 0;}