C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 0 100 5 0 100 100 5 100 5 0 20 100 100 100 100 0 100 5 0 100 100 5 100 5 0 20 100 100 100 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 Compiler time error 10 Segmentation fault/runtime crash Undefined behavior Compiler time error 10 Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these WorldHello World Hello World Hello None of these WorldHello World Hello World Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number An alphabet Both of the above A special symbol other than underscore A number An alphabet Both of the above A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Conditional operator Division operator Assignment operator Comma operator Unary-operator Conditional operator Division operator Assignment operator Comma operator Unary-operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Some address will be printed None of These Error make an infinite loop Some address will be printed None of These Error make an infinite loop ANSWER DOWNLOAD EXAMIANS APP