C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg bcdefg cdefg defg fg efg bcdefg cdefg defg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value 10 None of These 1 Garbage Value 10 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 3 4 2 3 3 3 2 4 2 2 3 4 2 3 3 3 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(x, 2) pow(2, x) power(2, x) power(x, 2) sqr(x) pow(x, 2) pow(2, x) power(2, x) power(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 4 7 6 None of these 5 4 7 6 None of these 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command has # as the first character need not start on the first column need not start on a new line comes before the first executable statement has # as the first character need not start on the first column need not start on a new line comes before the first executable statement ANSWER DOWNLOAD EXAMIANS APP