C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) pow(x, 2) sqr(x) power(x, 2) pow(2, x) power(2, x) pow(x, 2) sqr(x) power(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 21 10 10 11 11 10 20 21 10 10 20 21 20 10 20 21 21 10 10 11 11 10 20 21 10 10 20 21 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The actual values read for each argument. ASCII value of the input read. 1 0 The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 1 0 The number of successful read input values. 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} 0 Error 10..10 10..50 0 Error 10..10 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } 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. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Veda Exam Exam\0Veda Exam Veda None of these Veda Exam Exam\0Veda Exam Veda ANSWER DOWNLOAD EXAMIANS APP