C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 15 30 None of these 50 10 15 30 None of these 50 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Error Equal Unequal None of these. Error Equal Unequal ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello World World Hello None of these WorldHello Hello World World Hello None of these WorldHello ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. The program will not enter into the loop. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 1 10 14 None of these 0 1 10 14 None of these 0 ANSWER DOWNLOAD EXAMIANS APP