1. "alignas" - used to specify the alignment of a variable or t…
#include <iostream> #include <cstdlib> int main() { // Allocate …
#include <iostream> int main(int argc, char *argv[]) { std::cout <&…
#include <iostream> #include <fstream> #include <string> int…
#include <iostream> union Data { int i; float f; char c; }; int ma…
#include <iostream> #include <string> struct Person { std::strin…
#include <iostream> #include <string> struct Person { std::strin…
#include <iostream> int main() { int num = 5; float fnum = 3.14; c…
#include <iostream> int main() { // Declare an array of integers int…
#include <iostream> int main() { int num = 5; // Display the address…
#include <iostream> int main() { int num = 5; int *ptr; // Assign …
#include <iostream> // Function prototype for a function that takes an i…
#include <iostream> // Function prototype for a function that takes an i…
#include <iostream> // Function prototype for a recursive function that …
#include <iostream> // Function prototype for a function that takes an i…
#include <iostream> // Function prototype for a function that takes two i…
#include <iostream> #include <cmath> int main() { // Compute the…
#include <iostream> #include <string> int main() { // Create a s…
// C++ program to illustrate the // traversal of string #include "iostrea…
#include<iostream> using namespace std; int main() { int product[10][…