C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg cdefg defg efg bcdefg fg cdefg defg efg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These %d\n Error 300 None of These %d\n Error 300 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop no output 3 2 1 0 3 2 1 infinity loop no output 3 2 1 0 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 11 None of these. 10 9 11 None of these. 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These Compiler Error 50 10 None of These Compiler Error 50 10 ANSWER DOWNLOAD EXAMIANS APP