C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Some address will be printed. Will make an infinite loop. Error None of these. Some address will be printed. Will make an infinite loop. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Linker Error 20 Compiler Error 2 Linker Error 20 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 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 No data type unsigned int Depends upon the type of the variable to which it is pointing. int float No data type unsigned int Depends upon the type of the variable to which it is pointing. int ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Editing None of these During Execution During Preprocessing During linking During Editing None of these During Execution During Preprocessing During linking ANSWER DOWNLOAD EXAMIANS APP
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);} 6 Error Garbage value 3 6 Error Garbage value 3 ANSWER DOWNLOAD EXAMIANS APP