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; 9 6 10 11 5 9 6 10 11 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 2 4 4 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Register Linked list Queue Stack Array Register Linked list Queue Stack Array ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 2 0 1 2 3 0 1 2 2 None of these 1 1 2 3 1 1 2 2 0 1 2 3 0 1 2 2 None of these 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 6 11 6 5 6 6 7 12 7 6 6 11 6 5 6 6 7 12 7 ANSWER DOWNLOAD EXAMIANS APP