C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(2, x) power(x, 2) power(2, x) pow(x, 2) sqr(x) pow(2, x) power(x, 2) power(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 6 Error 9 5 None of these 6 Error 9 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() main() start() getch() printf() system() main() start() getch() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..10 0 10..50 Error 10..10 0 10..50 ANSWER DOWNLOAD EXAMIANS APP