C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 2 2 1 1 2 1 1 2 2 2 1 1 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Values of the first elements of the array. Address of the array. Address of the first element of the array. Number of element of the array. Values of the first elements of the array. Address of the array. Address of the first element of the array. Number of element of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 5 11 9 6 10 5 11 9 6 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 000 444 333 433 Garbage Value 000 444 333 433 Garbage Value 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) 10 None of these 30 50 15 10 None of these 30 50 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); Infinite loop 9 10 11 12 13 10 11 12 13 14 None of these 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 10 11 12 13 14 None of these 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP