C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 0, 2 4, 4 2, 2 2, 0 2, 4 0, 2 4, 4 2, 2 2, 0 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);} Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main case auto default register main case auto default register ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=2 sizeof(i)=1 Compiler Error None of These sizeof(i)=2 sizeof(i)=1 Compiler Error 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 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These ANSWER DOWNLOAD EXAMIANS APP