C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right III and IV II and IV II and III I and II I and III III and IV II and IV II and III I and II I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] None of these arr{6} arr{7} arr[7] arr[6] None of these arr{6} arr{7} arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Assignment operator Conditional operator Comma operator Division operator Unary-operator Assignment operator Conditional operator Comma operator Division operator Unary-operator ANSWER DOWNLOAD EXAMIANS APP