C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop no output 3 2 1 0 3 2 1 infinity loop no output 3 2 1 0 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if None of these. The pointers point to data of similar type. The pointers point to elements of the same array. The pointers point to structure of similar data type. None of these. The pointers point to data of similar type. The pointers point to elements of the same array. The pointers point to structure of similar data type. 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);} N M P None of These N M P None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 1 0 1 0 0 1 0 None of these 1 1 0 1 0 0 1 0 None of these 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 15 1 10 30 -5 15 1 10 30 -5 ANSWER DOWNLOAD EXAMIANS APP