You will get marks only if you have given a proper reason for your [10x2] answer: void foo { int m=10,*n; void *p: n=p=&

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

You will get marks only if you have given a proper reason for your [10x2] answer: void foo { int m=10,*n; void *p: n=p=&

Post by answerhappygod »

You Will Get Marks Only If You Have Given A Proper Reason For Your 10x2 Answer Void Foo Int M 10 N Void P N P 1
You Will Get Marks Only If You Have Given A Proper Reason For Your 10x2 Answer Void Foo Int M 10 N Void P N P 1 (43.21 KiB) Viewed 65 times
You Will Get Marks Only If You Have Given A Proper Reason For Your 10x2 Answer Void Foo Int M 10 N Void P N P 2
You Will Get Marks Only If You Have Given A Proper Reason For Your 10x2 Answer Void Foo Int M 10 N Void P N P 2 (75.66 KiB) Viewed 65 times
You will get marks only if you have given a proper reason for your [10x2] 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]); }
3. [2x2.5] a) Write a program to pass two numbers from main function to function foo, swap the numbers in a function foo and print the swapped value in main function using call by value method. Note that you cannot use call by reference anywhere. b) Write a program input a structure employee with following elements: Struct emp { int empid; int salary; int add_pincode; }; The program would be able to print all those employees having salary more than 20000 and they live at pin code 144001.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply