C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg cdefg fg bcdefg defg efg cdefg fg bcdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 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 Error Equal None of these. Unequal Error Equal None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Members of a structure Arithmetic expressions R-values Local variables Both of the above Members of a structure Arithmetic expressions R-values Local variables ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Stack Linked list Array Register Queue Stack Linked list Array Register Queue ANSWER DOWNLOAD EXAMIANS APP