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 2 5 5 2 4 5 5 5 5 2 4 4 2 5 5 2 4 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Dr. Dennis Ritchie Gosling Bjarne Stroustrup James F. Codd Dr. Dennis Ritchie Gosling Bjarne Stroustrup James F. Codd ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error Will make an infinite loop. Some address will be printed. None of these. Error Will make an infinite loop. Some address will be printed. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value 6 3 Error Garbage value 6 3 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 5 5.600000 Complier error 6 5.600000 0 5.600000 5 5.600000 Complier error 6 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 None of these 1 true 0 -1 None of these 1 true 0 ANSWER DOWNLOAD EXAMIANS APP