C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error 5 6 Garbage Value Compiler Error 5 6 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column 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++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. NOITANIMAXE Syntax error NOITANIMAXE C C No output at all. NOITANIMAXE Syntax error NOITANIMAXE C C ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal Equal None of these. Error Unequal Equal None of these. Error ANSWER DOWNLOAD EXAMIANS APP