C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) sqr(x) power(x, 2) pow(x, 2) pow(2, x) power(2, x) sqr(x) power(x, 2) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Run time error Enter a number:99 complier error Enter a number:99 Number is divisible by 5 Run time error Enter a number:99 complier error Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. H Some address will be printed Hello None of these. H Some address will be printed Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? examians1 exam_veda _examians 1examians examians1 exam_veda _examians 1examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 64 4 None of These 16 64 4 None of These 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above ANSWER DOWNLOAD EXAMIANS APP