C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} Error 65 A c Error 65 A c ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 -1 33 0 Compilation Error 1 -1 33 0 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Unary-operator Conditional operator Comma operator Assignment operator Division operator Unary-operator Conditional operator Comma operator Assignment operator Division operator 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 variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 no output infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } asiha None of these hai haasi absiha asiha None of these hai haasi absiha ANSWER DOWNLOAD EXAMIANS APP