C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 2 Error 1 -2 2 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is illegal is legal but meaningless is syntactically and semantically correct None of these. is illegal is legal but meaningless is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 0 Infinite loop Syntax error 10 0123456789 0 Infinite loop Syntax error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Error make an infinite loop Some address will be printed None of These Error make an infinite loop Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] 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++; }} 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP