Question: Write a program in C++ to print the sum of two numbers. Go to the editor Sample Output: Print the sum of two numbers :

Write a program in C++ to print the sum of two numbers. Go to the editor Sample Output: Print the sum of two numbers : The sum of 29 and 30 is : 59 3. Write a program in C++ to find Size of fundamental data types. Find Size of fundamental data types : The sizeof(char) is : 1 bytes The sizeof(short) is : 2 bytes The sizeof(int) is : 4 bytes The sizeof(long) is : 8 bytes The sizeof(long long) is : 8 bytes The sizeof(float) is : 4 bytes The sizeof(double) is : 8 bytes The sizeof(long double) is : 16 bytes The sizeof(bool) is : 1 bytes You should do this with sizeof() function for ex.: cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
