e) Switch-case vs If-else. 2. Write the output of the following functions with proper reason You will get marks only if
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
e) Switch-case vs If-else. 2. Write the output of the following functions with proper reason You will get marks only if
e) Switch-case vs If-else. 2. Write the output of the following functions with proper reason You will get marks only if you have given a proper reason for yo [10x answer: void foo() { int m=10,*n; void *p; n=p=&m; printf("%u, %u",n++,p++); } void foo() { int a[] {0, 4, 3, 4}; int *p, k,i; for(p=a+3,i=0;i<4;i++) printf("%d",p[-i]); } 1