C Programming Choose the best answer.Prior to using a pointer variable None of these. It should be initialized. It should be both declared and initialized. It should be declared. None of these. It should be initialized. It should be both declared and initialized. It should be declared. ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope No scope at all File scope Block scope Function scope Local scope No scope at all File scope Block scope Function scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 16 20 19 -1 17 16 20 19 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 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? No data type Depends upon the type of the variable to which it is pointing. int float unsigned int No data type Depends upon the type of the variable to which it is pointing. int float unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 Compiler Error None of These 50 10 Compiler Error None of These 50 ANSWER DOWNLOAD EXAMIANS APP