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 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. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. 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. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior Compiler time error Segmentation fault/runtime crash 10 Undefined behavior Compiler time error Segmentation fault/runtime crash 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 100 100 5 0 100 100 5 100 5 0 20 100 0 100 100 100 100 5 0 100 100 5 100 5 0 20 100 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These ANSWER DOWNLOAD EXAMIANS APP