C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 10, 11 11, 10 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 10 30 1 15 -5 10 30 1 15 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 6 Error 5 4 6 Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} None of These hi friends hj grjeodt ij!gsjfoet None of These hi friends hj grjeodt ij!gsjfoet ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These Compiler Error 10 50 None of These Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a formal parameter Initialization is a part of definition It is a declaratrion All of these It is a formal parameter Initialization is a part of definition It is a declaratrion ANSWER DOWNLOAD EXAMIANS APP