C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 0 6 1 None of these 10 0 6 1 None of these 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) sqr(x) power(2, x) power(x, 2) pow(x, 2) pow(2, x) sqr(x) power(2, x) power(x, 2) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda Exam Veda Exam Exam\0Veda None of these Veda Exam Veda Exam Exam\0Veda None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value hi ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 1 0.5 9 2 0.25 1 0.5 9 2 0.25 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 2 3 3 2 4 3 4 2 3 2 2 3 3 2 4 ANSWER DOWNLOAD EXAMIANS APP