C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg cdefg efg bcdefg defg fg cdefg efg bcdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 A c Error 65 A c Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 10 5 11 6 9 10 5 11 6 9 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 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when Initialization is a part of definition It is a declaratrion All of these It is a formal parameter Initialization is a part of definition It is a declaratrion All of these It is a formal parameter ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 Error 11 12 1 Error 11 12 ANSWER DOWNLOAD EXAMIANS APP