It works but the output is broken :)
This commit is contained in:
27
Semester 3/Assignments/functions/functions.h
Normal file
27
Semester 3/Assignments/functions/functions.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/cppFiles/file.h to edit this template
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: headers.h
|
||||
* Author: caleb
|
||||
*
|
||||
* Created on March 1, 2024, 10:10 AM
|
||||
*/
|
||||
|
||||
#ifndef HEADERS_H
|
||||
#define HEADERS_H
|
||||
|
||||
|
||||
void f1();
|
||||
void f2();
|
||||
void passByReference(int& x);
|
||||
void staticVarFunction();
|
||||
int& returnReference (int & x);
|
||||
int& returnAddressOfFirstElementOfArray (int arr[3]);
|
||||
int findMaxAndMin(int arr[2][3], int & min) ;
|
||||
|
||||
|
||||
#endif /* HEADERS_H */
|
||||
|
Reference in New Issue
Block a user