C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 1 Error -2 2 1 Error -2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) power(x, 2) power(2, x) pow(2, x) pow(x, 2) sqr(x) power(x, 2) power(2, x) pow(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() getch() printf() system() start() main() getch() printf() system() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compiler Error None of These Can't Say will print Hello World Compiler Error None of These Can't Say ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior Segmentation fault/runtime crash 10 Compiler time error Undefined behavior Segmentation fault/runtime crash 10 Compiler time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value hi h Error Garbage Value hi followed by garbage value hi h Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP