C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff3 fff1 fff4 fff2 fff0 fff3 fff1 fff4 fff2 fff0 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 4 4 8 5 5 2 4 5 2 5 5 2 4 4 8 5 5 2 4 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(2, x) sqr(x) pow(x, 2) pow(2, x) power(x, 2) power(2, x) sqr(x) pow(x, 2) pow(2, x) power(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: None of these *float ptr; float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 6 None of these Garbage Value 5 0 6 None of these Garbage Value 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP