C Programming Which of the following operator takes only integer operands? + * % None of these / + * % None of these / ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers 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"));} 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 2 4 5 2 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These 0 2 Garbage Value None of These 0 2 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 10, 11 ANSWER DOWNLOAD EXAMIANS APP