C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 1 1 None of these 0 0 1 0 0 1 1 1 None of these 0 0 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 6 Compiler Error 5 Garbage Value 6 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65474, 65488 65480, 65488 None of these 65480, 65496 65474, 65476 65474, 65488 65480, 65488 None of these 65480, 65496 65474, 65476 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} Compiler Error sizeof(i)=1 sizeof(i)=2 None of These Compiler Error sizeof(i)=1 sizeof(i)=2 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value 1 None of These 10 Garbage Value 1 None of These 10 ANSWER DOWNLOAD EXAMIANS APP