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 11 5 6 10 9 11 5 6 10 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
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = 1 i = 1, +i = 1 i = -1, +i = -1 None of These i = -1, +i = 1 i = 1, +i = 1 i = -1, +i = -1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} None of these 1 2 3 10 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 None of these 1 2 3 10 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 -5 30 1 15 10 -5 30 1 15 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? Depends upon the type of the variable to which it is pointing. float int No data type unsigned int Depends upon the type of the variable to which it is pointing. float int No data type unsigned int ANSWER DOWNLOAD EXAMIANS APP