What will be the final output of the following?
1. int num 1 = 5; // memory address of num 1 = 4420 printf("%d", %num1);
2. int *num1, num2 = 10;
num 1 = &num2;
printf("%d", *num1);
3. int *num1, num2 = 10; // memory address of num2 = 9
num 1 = &num2;
printf("%d", num1);
4. int ex1(int num1, int num2){
int result;
result = (num1+num2)/2;
return result;}
int main() {
ret = ex1 (10, 2);
printf("%d", ret);}
5. void ex2(){
printf("hello world");}
int main(){
ex1();}
Answers
Answered by
0
Answer:
cuddly Isis Oshkosh Isla Jamshedpur
Similar questions