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 3 2 3 3 4 2 4 2 2 3 3 2 3 3 4 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... no such function in 'C'. Data file stderr stdin string no such function in 'C'. Data file stderr stdin string ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 10 1 None of these 0 6 10 1 None of these 0 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} P None of These M N P None of These M N ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) sqr(x) pow(x, 2) power(2, x) power(x, 2) pow(2, x) sqr(x) pow(x, 2) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP