What is the difference between #pragma once and guards inclusions?

Is there a difference between:
#ifndef HEADER_H
#define HEADER_H

// code 


and that #pragma once
April 19th 20 at 12:34
1 answer
April 19th 20 at 12:36
On wiki they write that #pragma once is not standard feature, although many modern compilers know her, but not all. So the #ifndef is more reliable.

Find more questions by tags C++