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++; }} Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..4 2..2 2..4 4..2 4..4 2..2 2..4 4..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be both declared and initialized. It should be initialized. It should be declared. None of these. It should be both declared and initialized. It should be initialized. It should be declared. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 3 3 4 2 3 2 2 2 4 3 3 3 4 2 3 2 2 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Some Address will be printed None of These Hello H Some Address will be printed None of These Hello H ANSWER DOWNLOAD EXAMIANS APP