C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error None of These will print Hello World Can't Say Compiler Error None of These will print Hello World Can't Say ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0 10 Syntax error 0123456789 Infinite loop 0 10 Syntax error 0123456789 Infinite loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 2 3 2 4 3 3 2 2 3 4 2 3 2 4 3 3 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 54554 54544 45445 45545 54554 54544 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 2 a[1] = 3 a[0] = 2 a[0] = 3 Compilation error a[1] = 2 a[1] = 3 a[0] = 2 a[0] = 3 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP