C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[0] = 2 a[1] = 3 a[1] = 2 a[0] = 3 Compilation error a[0] = 2 a[1] = 3 a[1] = 2 a[0] = 3 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? cdefg bcdefg efg fg defg cdefg bcdefg efg fg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error None of these. 10 0.000000 Error None of these. 10 0.000000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Dennis Ritchie Gosling Bjarne Stroustrup Dr. James F. Codd Dennis Ritchie Gosling Bjarne Stroustrup Dr. James F. Codd ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} None of These Compiler Error 12PP345 12PP None of These Compiler Error 12PP345 12PP ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns 0 -1 None of these 1 true 0 -1 None of these 1 true ANSWER DOWNLOAD EXAMIANS APP