C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 0, 2 4, 4 2, 0 2, 4 2, 2 0, 2 4, 4 2, 0 2, 4 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) 50 15 30 None of these 10 50 15 30 None of these 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 25 24 30 None of these 20 25 24 30 None of these 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 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
C Programming Choose the best answer.Prior to using a pointer variable None of these. It should be both declared and initialized. It should be initialized. It should be declared. None of these. It should be both declared and initialized. It should be initialized. It should be declared. ANSWER DOWNLOAD EXAMIANS APP