C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 1 2 Error -2 1 2 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 x=1 x=0 Error x=4 x=5 x=1 x=0 Error x=4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... File scope Local scope Function scope No scope at all Block scope File scope Local scope Function scope No scope at all Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float int unsigned int Depends upon the type of the variable to which it is pointing. No data type float int unsigned int Depends upon the type of the variable to which it is pointing. No data type ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 6 5 Error None of these 9 6 5 Error None of these 9 ANSWER DOWNLOAD EXAMIANS APP