C Programming int a[5] = {1,2,3}What is the value of a[4]? 0 2 1 Garbage Value 3 0 2 1 Garbage Value 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 4 8 5 5 2 4 5 2 5 5 2 4 4 8 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 no output infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? float char double real int float char double real int ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() puts() None of these printf() gets() scanf() puts() None of these printf() gets() 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 Equal None of these. Error Unequal Equal None of these. Error ANSWER DOWNLOAD EXAMIANS APP