What will be the output of the program ?#include<stdio.h>int main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 None of these 0 1 10 TRUE ANSWER : ? YOUR ANSWER : ?
C preprocessor Takes care of include files Takes care of conditional compilation Takes care of macros All of these Acts before compilation TRUE ANSWER : ? YOUR ANSWER : ?
What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } absiha asiha hai haasi None of these TRUE ANSWER : ? YOUR ANSWER : ?
What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 2 1 1 2 1 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A c Error 65 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 55445 54554 45545 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is not a correct variable type? float double real int char TRUE ANSWER : ? YOUR ANSWER : ?
The type of the controlling expression of a switch statement cannot be of the type ........ short long float int char TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 Error 0 0 0 garbage values TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..2 4..4 2..4 4..2 TRUE ANSWER : ? YOUR ANSWER : ?