C Programming Size of the array need not be specified, when It is a formal parameter All of these Initialization is a part of definition It is a declaratrion It is a formal parameter All of these Initialization is a part of definition It is a declaratrion 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) 30 15 10 50 None of these 30 15 10 50 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 6 None of these 5 Garbage Value 0 6 None of these 5 Garbage Value 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");} Unequal None of these. Error Equal Unequal None of these. Error Equal ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 0 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 0 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP