Size of variables of different data types

//HiTech Banda #include <iostream.h> #include <conio.h> int main() { clrscr(); char c; int i; float f; double d; cout<<endl<<sizeof(c); cout<<endl<<sizeof(i); cout<<endl<<sizeof(f); cout<<endl<<sizeof(d); getch(); return 0; } //facebook.com/HiTechBanda //twitter.com/HiTechBanda //t.me/HitechBanda

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.