Q : Write down three different methods used for referencing multiple values from a function.
Answer : you can return only one value from function using return statement but you can change multiple values from a function using a pointer, array, and structure. The following program will show you a demo.
#include<stdio.h>
#include<conio.h>
#include "mylib.h"
/*============================
Girfa Student Help
Multiple value set from function
==============================*/
struct data
{
int roll;
int marks;
};