C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value 3 Error 6 Garbage value 3 Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 4 6 None of these 7 5 4 6 None of these 7 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? continue None of these resume skip break continue None of these resume skip break ANSWER DOWNLOAD EXAMIANS APP