C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above 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 10 1 15 -5 30 10 1 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error Linker Error 20 2 Compiler Error Linker Error 20 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} three None of These Error zero three None of These Error zero ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... File scope Block scope No scope at all Local scope Function scope File scope Block scope No scope at all Local scope Function scope ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Linked list Stack Queue Register Array Linked list Stack Queue Register Array ANSWER DOWNLOAD EXAMIANS APP