C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(x, 2) power(2, x) pow(2, x) sqr(x) power(x, 2) pow(x, 2) power(2, x) pow(2, x) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 50 30 None of these 15 10 50 30 None of these 15 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I, II, III and IV I and II II, III and IV I, II and III II and III I, II, III and IV I and II II, III and IV I, II and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 10 Compiler Error 50 None of These 10 Compiler Error 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 1 Error 100 0 1 Error 100 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? puts() gets() None of these scanf() printf() puts() gets() None of these scanf() printf() ANSWER DOWNLOAD EXAMIANS APP