C Programming Which of the following function calculates the square of 'x' in C? sqr(x) power(2, x) power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when Initialization is a part of definition It is a formal parameter It is a declaratrion All of these Initialization is a part of definition It is a formal parameter It is a declaratrion All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te ow ck et te ow ck et ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of include files Takes care of conditional compilation Takes care of macros Acts before compilation All of these Takes care of include files Takes care of conditional compilation Takes care of macros Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is a pointer to a 5 elements integer array. None of these. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ p is a pointer to a 5 elements integer array. None of these. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. will print garbage value will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error ANSWER DOWNLOAD EXAMIANS APP