C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 -2 Error 2 1 -2 Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 6 12 24 7 It will not compile because not enough initializers are given 6 12 24 7 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Assignment operator Division operator Conditional operator Unary-operator Comma operator Assignment operator Division operator Conditional operator Unary-operator Comma operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 12 14 13 11 Compilation error 12 14 13 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a declaratrion Initialization is a part of definition All of these It is a formal parameter It is a declaratrion Initialization is a part of definition All of these It is a formal parameter ANSWER DOWNLOAD EXAMIANS APP